diff --git a/gajim/plugins/plugins_i18n.py b/gajim/plugins/plugins_i18n.py index ea524f969..9b60123a4 100644 --- a/gajim/plugins/plugins_i18n.py +++ b/gajim/plugins/plugins_i18n.py @@ -15,6 +15,7 @@ # along with Gajim. If not, see . import os +import locale import gettext from gajim.common import configpaths @@ -28,3 +29,6 @@ try: _ = t.gettext except OSError: _ = gettext.gettext + +if hasattr(locale, 'bindtextdomain'): + locale.bindtextdomain(DOMAIN, plugins_locale_dir) # type: ignore