Opened 8 years ago

Last modified 8 years ago

#16764 closed Bug

LANGUAGES and LANGUAGE_CODE settings doesn't work correctly — at Initial Version

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

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?

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top