diff --git a/gajim/common/connection.py b/gajim/common/connection.py index 99f8c1de6..9ed4dd03a 100644 --- a/gajim/common/connection.py +++ b/gajim/common/connection.py @@ -60,8 +60,9 @@ from gajim.common import passwords from gajim.common import idle from gajim.common import modules from gajim.common import ged -from gajim.common.nec import NetworkEvent +from gajim.common import i18n from gajim.common.i18n import _ +from gajim.common.nec import NetworkEvent from gajim.common.contacts import GC_Contact from gajim.common.connection_handlers import ConnectionHandlers from gajim.common.connection_handlers_events import OurShowEvent @@ -1061,7 +1062,8 @@ class Connection(CommonConnection, ConnectionHandlers): con = nbxmpp.NonBlockingClient( domain=self._hostname, caller=self, - idlequeue=app.idlequeue) + idlequeue=app.idlequeue, + lang=i18n.LANG) if self._sm_resume_data: con.set_resume_data(self._sm_resume_data) diff --git a/gajim/common/modules/muc.py b/gajim/common/modules/muc.py index b02a44a8a..b4df57671 100644 --- a/gajim/common/modules/muc.py +++ b/gajim/common/modules/muc.py @@ -443,7 +443,7 @@ class MUC: return self._con.connection.get_module('MUC').request_config( - room_jid, i18n.LANG, callback=self._config_received) + room_jid, callback=self._config_received) def _config_received(self, result): if result.is_error: