diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 09c299004..9a9b22f87 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1161,9 +1161,11 @@ int main(int argc, char *argv[]) // Create user data directory fs::CreateDir(porting::path_userdata); +#ifdef USE_GETTEXT setlocale(LC_MESSAGES, ""); bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str()); textdomain("minetest"); +#endif // Initialize debug streams #ifdef RUN_IN_PLACE |