This commit is contained in:
gwen 2013-06-10 17:45:03 +02:00
parent 9cf30d214d
commit 22f0aab0a8
1 changed files with 1 additions and 0 deletions

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]