-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace uggettext_lazy with gettext_lazy to support Django 4.0 #34
base: master
Are you sure you want to change the base?
Conversation
> django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are removed. https://docs.djangoproject.com/en/4.0/releases/4.0/#features-removed-in-4-0 Django trac ticket: https://code.djangoproject.com/ticket/30165
Hi @kbytesys do you have any comment/feedback on this PR? Thank you. |
+1 on this, this is needed! |
+1 will be a great improvement. |
+1 Please update this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good
Oh, it's been a year. Can we merge it soon? @subaquatic-pierre |
+1 |
@kbytesys Can you merge it? I have this problem, too. |
✏️ FTR currently, Django stable version is 5.x.x |
This is the solution I found to add this code to resolve this problem until it is merged. add them in settings.py in front of "INSTALLED_APPS" variable. import django.utils.translation as original_translation
from django.utils.translation import gettext_lazy
original_translation.ugettext_lazy = gettext_lazy |
https://docs.djangoproject.com/en/4.0/releases/4.0/#features-removed-in-4-0
Django trac ticket: https://code.djangoproject.com/ticket/30165