Thanks hopefully the same to ugettext
Kind Regards Ngallen Ramadhan T: +255 765 889 960 | Emial: <mailto:[email protected]> [email protected] | Skype: ngallen2 From: [email protected] <[email protected]> On Behalf Of David Nugent Sent: 10 December 2021 07:50 To: [email protected] 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 <[email protected] <mailto:[email protected]> > 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 [email protected] <mailto:[email protected]> . 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 [email protected] <mailto:[email protected]> . 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/00b801d7ed82%24c6197ed0%24524c7c70%24%40gmail.com.

