Skip to content

Commit

Permalink
On i18n.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Portnov committed Sep 3, 2014
1 parent b6e5eb1 commit e48404d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ def locate_locales():
lang, enc = locale.getdefaultlocale()
os.environ['LANG'] = lang

t = gettext.translation("colors", localedir=locate_locales())
t = gettext.translation("colors", localedir=locate_locales(), fallback=True)
_ = t.ugettext

0 comments on commit e48404d

Please sign in to comment.