http://bugs.winehq.org/show_bug.cgi?id=18461
Summary: Problem in English localization of Winelib programs Product: Wine Version: unspecified Platform: All URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50499 2 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: ovek@arcticnet.no
Most of the Winelib programs in Wine, such as winecfg, contain this in their English localization resource (En.rc):
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
SUBLANG_DEFAULT is 1, which for English, maps to SUBLANG_ENGLISH_US. This means that the localization in En.rc is *only* selected in an en_US locale, *not* in, say, an en_GB locale (unless no other fallback is found).
It would probably better if these files said
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
so that if the user has a British English user locale (from LC_MESSAGES) and a French system locale, winecfg will show up in English, not fall back to French.
(From Debian bug #504992, linked to in the URL field.)
http://bugs.winehq.org/show_bug.cgi?id=18461
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2009-05-13 15:44:19 --- It needs to be SUBLANG_DEFAULT for English, since that's the generic fallback for undefined languages. Maybe the loader needs a special case for non-US English.
http://bugs.winehq.org/show_bug.cgi?id=18461
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other OS/Version|All |other
http://bugs.winehq.org/show_bug.cgi?id=18461
--- Comment #2 from Ove Kaaven ovek@arcticnet.no 2009-05-14 14:03:55 --- And it's not an option to change the generic fallback to use neutral instead of default, or to try both neutral and default?
http://bugs.winehq.org/show_bug.cgi?id=18461
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2009-05-14 14:26:55 --- If Windows does this, maybe. It would need test cases.
http://bugs.winehq.org/show_bug.cgi?id=18461
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #4 from Wylda wylda@volny.cz 2009-06-29 07:02:32 --- (In reply to comment #3)
If Windows does this, maybe. It would need test cases.
Hi, i have one such case - look at bug #18710.
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
should solve the bug and ftp://ftp.idsoftware.com/idstuff/quake3/win32/q3pointrelease_132.exe will behave like in WinXP, ie. installer will not skip a question under wine.
From: http://msdn.microsoft.com/en-us/library/ms776294(VS.85).aspx
Note: If there is no sublanguage identifier to use with a primary language identifier, your application should use SUBLANG_DEFAULT. It should use SUBLANG_NEUTRAL for resources that are the same for all sublanguages of a primary language.
Bug #10525 probably also suffers from unimplemented SUBLANG_NEUTRAL.
http://bugs.winehq.org/show_bug.cgi?id=18461
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, integration, | |source Platform|Other |x86 Version|unspecified |1.0.1 OS/Version|other |Linux
http://bugs.winehq.org/show_bug.cgi?id=18461
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #5 from butraxz@gmail.com 2012-05-21 14:22:45 CDT --- The mechanism has changed to .po files for translations since this bug was filed. This bug has not been updated for three years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=18461
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |kennybobs@o2.co.uk Resolution| |FIXED
--- Comment #6 from Ken Sharp kennybobs@o2.co.uk 2013-07-30 18:34:58 CDT --- I think with the addition of en_GB.po that this has probably been resolved.
I'm not sure if Wine falls back to US English if a GB English translation cannot be found but it does appear to, and keeping the translations up to date should avoid this anyway.
Marking fixed. Reopen if you can recreate this issue in latest git.
Note that the Debian bug will probably never be fixed in Wine as it is now an incredibly old version.
http://bugs.winehq.org/show_bug.cgi?id=18461
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-08-02 13:18:36 CDT --- Closing bugs fixed in 1.7.0.
https://bugs.winehq.org/show_bug.cgi?id=18461
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords| |localization