Opened 5 years ago

Last modified 5 years ago

#31119 closed Uncategorized

Localization always set to language 'en' — at Version 4

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 Raton)

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 (4)

comment:1 by Raton, 5 years ago

Description: modified (diff)

comment:2 by Raton, 5 years ago

Description: modified (diff)

comment:3 by Raton, 5 years ago

Description: modified (diff)

comment:4 by Raton, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top