`locale -s` shows incorrect info on systems where the language is changed after the OOBE
Fri Apr 29 11:54:37 GMT 2022
Am 29/04/2022 um 12:16 schrieb Gennaro Prota:
> the locale utility currently gets the system default UI locale (-s option)
> via GetSystemDefaultUILanguage().
> This is a problem on systems where the default UI language is changed after
> the Windows Out of Box Experience (OOBE), because that function will
> happily ignore the fact (see <
> FWIW, this is not just theoretical: on my work PC, which was set to Italian
> during the first setup (not by me), and is now set to US English, the
> locale utility shows:
> $ locale -s
Please check: was the setting really changed for the whole system (i.e.
also for other users) or only for your user account?
Is the change reflected by locale -u?
More information about the Cygwin