Skip to content

Commit e48404d

Browse files
author
Ilya Portnov
committed
On i18n.
1 parent b6e5eb1 commit e48404d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

l10n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def locate_locales():
1616
lang, enc = locale.getdefaultlocale()
1717
os.environ['LANG'] = lang
1818

19-
t = gettext.translation("colors", localedir=locate_locales())
19+
t = gettext.translation("colors", localedir=locate_locales(), fallback=True)
2020
_ = t.ugettext
2121

0 commit comments

Comments
 (0)