summaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/windows.c b/windows.c
index b099193f8..6ee763245 100644
--- a/windows.c
+++ b/windows.c
@@ -153,6 +153,9 @@ const char *subsurface_default_filename()
const char *subsurface_gettext_domainpath()
{
+ char buffer[80];
+ snprintf(buffer, sizeof(buffer), "LANGUAGE=%s.UTF-8", g_win32_getlocale());
+ putenv(buffer);
return "./locale";
}