app: Fix localization language in Windows

This commit is contained in:
Oleg Kapitonov 2023-11-28 10:39:53 +03:00 committed by Bruno
parent 4de7c7defb
commit 7ccfad1716
1 changed files with 1 additions and 0 deletions

View File

@ -753,6 +753,7 @@ language_init (const gchar *language)
else
{
g_setenv ("LANGUAGE", language, TRUE);
g_setenv ("LANG", language, TRUE);
setlocale (LC_ALL, "");
actual_language = g_strdup (language);