https://bugs.winehq.org/show_bug.cgi?id=53550
Bug ID: 53550 Summary: Some Catalan locales not properly handled Product: Wine Version: 7.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: marc.ruiz+wine@live.com Distribution: ---
My system has locale ca_AD.UTF-8 which is for Catalan. However Wine apparently does not recognize it as Catalan, it only recognizes ca_ES.
How to reproduce:
LANG=ca_AD.UTF-8 winecfg -> UI is shown in English (wrong). LANG=ca_ES.UTF-8 winecfg -> UI is shown in Catalan (right). LANG=ca_FR.UTF-8 winecfg -> UI is shown in English (wrong). LANG=ca_IT.UTF-8 winecfg -> UI is shown in English (wrong).
I have actually discovered this while running YY-CHR (https://appdb.winehq.org/objectManager.php?sClass=version&iId=22701). Running this program with WINEDEBUG=nls I have discovered that ca_ES is mapped to locale CAT and ca_AD and the others to ZZZ.
https://bugs.winehq.org/show_bug.cgi?id=53550
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |regression, source Regression SHA1| |b631c147027c35fae5a8f5afef9 | |03958cadbed0a CC| |alexhenrie24@gmail.com Status|UNCONFIRMED |NEW
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- This is a regression: Wine 7.4 and earlier used the Catalan translation for LANG=ca_AD.UTF-8. `git bisect` says:
b631c147027c35fae5a8f5afef903958cadbed0a is the first bad commit commit b631c147027c35fae5a8f5afef903958cadbed0a Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 22 10:31:58 2022 +0100
ntdll: Reimplement RtlLocaleNameToLcid() using the locale.nls data.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/kernel32/tests/locale.c | 90 +++++++++++++------------- dlls/ntdll/locale.c | 146 +++++++++++++------------------------------ 2 files changed, 91 insertions(+), 145 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=53550
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Yes, Catalan is not going to work at the moment, because it doesn't have a language id on Windows. We will need a bit more infrastructure work to properly support named locales.
https://bugs.winehq.org/show_bug.cgi?id=53550
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- This should be fixed by 4e89a2592755b97de8c9050755baaff4b77dedc6 and b8845e61be25d1cd174901f4d4cf5ec54539ceb4.
https://bugs.winehq.org/show_bug.cgi?id=53550
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc2.