diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 04262b45c..6506c9241 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -246,6 +246,7 @@ void Client::testsInit() Dirs::initLocalDataDir(); Dirs::initTempDir(); Dirs::initConfigDir(); + GettextHelper::initLang(); } } @@ -376,6 +377,9 @@ void Client::gameInit() // Add the local data directory to PhysicsFS search path resourceManager->addToSearchPath(settings.localDataDir, Append_false); TranslationManager::loadCurrentLang(); +#ifdef ENABLE_CUSTOMNLS + TranslationManager::loadGettextLang(); +#endif WindowManager::initTitle(); |