aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index e651456ace..4858501126 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -321,9 +321,6 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
// Update the config file
ConfMan.set("versioninfo", gScummVMVersion, Common::ConfigManager::kApplicationDomain);
- // Enable translation
- TransMan.setLanguage(ConfMan.get("gui_language").c_str());
-
// Load and setup the debuglevel and the debug flags. We do this at the
// soonest possible moment to ensure debug output starts early on, if
// requested.
@@ -365,6 +362,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
setupGraphics(system);
+ // Enable translation
+ TransMan.setLanguage(ConfMan.get("gui_language").c_str());
+
// Init the event manager. As the virtual keyboard is loaded here, it must
// take place after the backend is initiated and the screen has been setup
system.getEventManager()->init();