From 6214d3c1f3b05a24c1da703bc049b21659fe38a2 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 7 May 2013 14:21:18 +0000 Subject: [PATCH] Bug 6553: Wrong locale directory for alternate translations Thanks, Kurt. svn: r22192 --- src/plugins/lib/libtranslate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/lib/libtranslate.py b/src/plugins/lib/libtranslate.py index 68e440294..99ef6cc89 100644 --- a/src/plugins/lib/libtranslate.py +++ b/src/plugins/lib/libtranslate.py @@ -144,7 +144,8 @@ class Translator: else: # fallback=True will cause the translator to use English if # lang = "en" or if something goes wrong. - self.__trans = gettext.translation(TransUtils.get_localedomain(), + self.__trans = gettext.translation(TransUtils.get_localedomain(),\ + TransUtils.LOCALEDIR, languages=[lang], fallback=True) val = config.get('preferences.date-format')