[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: `locale -s` shows incorrect info on systems where the language is changed after the OOBE
From:       Thomas Wolff <towo () towo ! net>
Date:       2022-04-29 11:54:37
Message-ID: 762594a9-b32c-34a9-fb7b-65dd763c90c3 () towo ! net
[Download RAW message or body]

Am 29/04/2022 um 12:16 schrieb Gennaro Prota:
> Hi,
>
> 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 <
> https://docs.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getsystemdefaultuilanguage
>> ).
> 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
>    it_IT
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?

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic