Skip to content
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

Fixed #30439 - Translations issues on upgrade due to unexpected changes in plural forms #12280

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions django/conf/global_settings.py
Expand Up @@ -151,6 +151,11 @@ def gettext_noop(s):
USE_I18N = True
LOCALE_PATHS = []

# If you set this to True, Django will issue a warning when merging a message
# file for translations with different plural forms than the main ones of the
# locale.
PLURAL_FORMS_CONSISTENCY = False

# Settings for language cookie
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_AGE = None
Expand Down