summaryrefslogtreecommitdiff
path: root/src/gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 3413f3806..b62421c78 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -13,6 +13,10 @@
inline void init_gettext(const char *path) {
#if USE_GETTEXT
+ #if MSVC
+ #else
+ setlocale(LC_MESSAGES, "");
+ #endif
bindtextdomain(PROJECT_NAME, path);
textdomain(PROJECT_NAME);
#endif