Thanks hopefully the same to ugettext
Kind Regards Ngallen Ramadhan T: +255 765 889 960 | Emial: <mailto:ngall...@gmail.com> ngall...@gmail.com | Skype: ngallen2 From: django-users@googlegroups.com <django-users@googlegroups.com> On Behalf Of David Nugent Sent: 10 December 2021 07:50 To: django-users@googlegroups.com Subject: Re: How to import UGETTEXT_LAZY ON DJANGO 4.0 Simply change it to gettext_lazy. You don't need the deprecated functions, they were for python 2. Regards, David On Fri, Dec 10, 2021 at 3:43 PM <ngall...@gmail.com <mailto:ngall...@gmail.com> > wrote: It seems Django has removed ‘ugettext_lazy`(from django.utils.translation import ugettext_lazy as _) from Django version 4.0.x How can I handle translation on Django version 4.0.x? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/009b01d7ed80%246da44d40%2448ece7c0%24%40gmail.com <https://groups.google.com/d/msgid/django-users/009b01d7ed80%246da44d40%2448ece7c0%24%40gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE5VhgWHc-1AePPpLKZK5umH00fTrcRsHBefu%2Bb37um-mz%3D3kQ%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAE5VhgWHc-1AePPpLKZK5umH00fTrcRsHBefu%2Bb37um-mz%3D3kQ%40mail.gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/00b801d7ed82%24c6197ed0%24524c7c70%24%40gmail.com.