Opened 6 years ago
Last modified 6 years ago
#31119 closed Uncategorized
Localization always set to language 'en' — at Version 3
| 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 (last modified by )
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'
Change History (3)
comment:1 by , 6 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 6 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 6 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.