django internationalisation loading error

Posted by ha22109 on Stack Overflow See other posts from Stack Overflow or by ha22109
Published on 2010-04-06T06:24:52Z Indexed on 2010/04/06 10:53 UTC
Read the original article Hit count: 279

Hello All,

I m not able to change the locale of django -admin when i switch to different locale from browser.But if i mention in my settings.py the language code then it is working but browser locale doesnot have any impact on it

#setting.py

LANGUAGES = (
('ar', gettext_noop('Arabic')),
('ja', gettext_noop('japanese')),
('bg', gettext_noop('Bulgarian')),

LANGUAGE_CODE = ''# 

LANGUAGE_COOKIE_NAME = 'django_language'

LOCALE_PATHS = ()

© Stack Overflow or respective owner

Related posts about django-admin

Related posts about django