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

-- 
Gennaro

-- 
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

Reply via email to