diff --git a/gajim/common/app.py b/gajim/common/app.py index 892a4e664..a021d5195 100644 --- a/gajim/common/app.py +++ b/gajim/common/app.py @@ -44,6 +44,7 @@ import gajim from gajim.common import config as c_config from gajim.common import configpaths from gajim.common import ged as ged_module +from gajim.common.i18n import LANG from gajim.common.contacts import LegacyContactsAPI from gajim.common.events import Events from gajim.common.types import NetworkEventsControllerT # pylint: disable=unused-import @@ -337,6 +338,8 @@ def detect_dependencies(): for dep, val in _dependencies.items(): log('gajim').info('%-13s %s', dep, val) + log('gajim').info('Used language: %s', LANG) + def get_gpg_binary(): return _dependencies['GPG_BINARY'] diff --git a/gajim/common/i18n.py b/gajim/common/i18n.py index 6258930f8..ac427ec19 100644 --- a/gajim/common/i18n.py +++ b/gajim/common/i18n.py @@ -171,7 +171,6 @@ try: # Set the env var on Windows because gettext.find() uses it to # find the translation os.environ['LANG'] = LANG - print('Found default language: %s' % LANG) except Exception as error: print('Failed to determine default language') import traceback