gettext vs ugettext_lazy

19 views
Skip to first unread message

ngal...@gmail.com

unread,
Dec 3, 2021, 1:54:48 AM12/3/21
to django...@googlegroups.com, django-user...@googlegroups.com

Hello

Would like to know, what are the difference between gettext and ugettext_lazy?

When to use each of them?

David Nugent

unread,
Dec 3, 2021, 4:14:01 AM12/3/21
to django...@googlegroups.com
Don't use ugettext*, they are deprecated and no longer exist in 3.x. m They were for Django 2.x support.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/00e601d7e812%2482841ab0%24878c5010%24%40gmail.com.

David Nugent

unread,
Dec 3, 2021, 5:12:36 AM12/3/21
to django...@googlegroups.com
Correction, Python 2.x support
Reply all
Reply to author
Forward
0 new messages