Opened 13 years ago
Last modified 13 years ago
#16764 closed Bug
LANGUAGES and LANGUAGE_CODE settings doesn't work correctly — at Version 1
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 1.3 |
Severity: | Normal | Keywords: | language settings |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
LANGUAGE_CODE = 'mn' gettext = lambda s: s LANGUAGES = ( ('mn', gettext('Mongolia')), ('en-us', gettext('English')), )
when above settings configured default language code is "mn", but
LANGUAGE_CODE = 'mn' gettext = lambda s: s LANGUAGES = ( ('mn', gettext('Mongolia')), ('en', gettext('English')), )
in this situation default language code is "en".
I added locale middleware to MIDDLEWARES.
It is BUG? or something?
Note:
See TracTickets
for help on using tickets.
Fixed formatting.