This commit is contained in:
gwen 2013-06-10 17:45:03 +02:00
parent 9cf30d214d
commit 22f0aab0a8

View File

@ -17,6 +17,7 @@ LOCALE_DIR = os.path.join(APP_DIR, 'locale')
DEFAULT_LANG = os.environ.get('LANG', '').split(':')
DEFAULT_LANG += ['en_US']
languages = []
lc, encoding = locale.getdefaultlocale()
if lc:
languages = [lc]