diff --git a/kazam/app.py b/kazam/app.py index 7e55ab5..7918fc3 100644 --- a/kazam/app.py +++ b/kazam/app.py @@ -828,8 +828,11 @@ def run_counter(self): def setup_translations(self): gettext.bindtextdomain("kazam", "/usr/share/locale") gettext.textdomain("kazam") + locale.bindtextdomain("kazam", "/usr/share/locale") + locale.textdomain("kazam") + currentLocale = locale.getlocale() try: - locale.setlocale(locale.LC_ALL, "") + locale.setlocale(locale.LC_ALL, currentLocale) except Exception as e: logger.exception("EXCEPTION: Setlocale failed, no language support.")