Win32 was not honouring --lang language.
This commit is contained in:
parent
f27567b9b7
commit
bb4e17202d
1 changed files with 4 additions and 0 deletions
|
|
@ -747,6 +747,10 @@ static int set_current_language(const char *restrict loc)
|
||||||
mysetenv("LANGUAGE", oldloc);
|
mysetenv("LANGUAGE", oldloc);
|
||||||
set_langint_from_locale_string(oldloc);
|
set_langint_from_locale_string(oldloc);
|
||||||
} else {
|
} else {
|
||||||
|
#ifdef _WIN32
|
||||||
|
mysetenv("LANGUAGE", loc);
|
||||||
|
#endif
|
||||||
|
|
||||||
set_langint_from_locale_string(loc);
|
set_langint_from_locale_string(loc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue