From 90a44f61e906f819b4114b2220420c39ce67bbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Wed, 10 Oct 2018 19:33:43 +0200 Subject: [PATCH] Fix missing UI translations on flatpak --- gajim/common/i18n.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gajim/common/i18n.py b/gajim/common/i18n.py index 392c1e243..b862151b5 100644 --- a/gajim/common/i18n.py +++ b/gajim/common/i18n.py @@ -152,6 +152,8 @@ for dir_ in iter_locale_dirs(): try: _translation = gettext.translation(DOMAIN, dir_) _ = _translation.gettext + if hasattr(locale, 'bindtextdomain'): + locale.bindtextdomain(DOMAIN, dir_) # type: ignore except OSError: continue else: