summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index c21194834..cb65c3b60 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -101,6 +101,8 @@
#include "utils/paths.h"
#include "utils/stringutils.h"
+#include "utils/translation/translationmanager.h"
+
#include "test/testlauncher.h"
#include "test/testmain.h"
@@ -458,6 +460,8 @@ void Client::gameInit()
//resman->selectSkin();
+ TranslationManager::loadCurrentLang();
+
std::string iconFile = branding.getValue("appIcon", "icons/manaplus");
#ifdef WIN32
iconFile += ".ico";
@@ -1050,6 +1054,7 @@ int Client::gameExec()
logger->log1("State: CONNECT SERVER");
mCurrentDialog = new ConnectionDialog(
_("Connecting to server"), STATE_SWITCH_SERVER);
+ TranslationManager::loadCurrentLang();
break;
case STATE_LOGIN: