Opened 5 years ago
Last modified 5 years ago
#31119 closed Uncategorized
Localization always set to language 'en' — at Initial Version
Reported by: | Raton | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 3.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | yes |
Description
Till Django-2.2.9 in my app localization work fine but after update to 3.0.1 translation not work and no error.
In django 2.2.9 when i am set
request.session_language = language_code
then i found django.utils.translation.get_language() is language_code
but in django 3.0.1
i found django.utils.translation.get_language() always en even i set request.session_language = 'ja'
Note:
See TracTickets
for help on using tickets.