http://bugs.winehq.org/show_bug.cgi?id=29924
Bug #: 29924 Summary: control and inetcpl show some texts in wrong language Product: Wine Version: 1.4-rc4 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lauri.kentta@gmail.com Classification: Unclassified
LC_MESSAGES=en_GB.UTF-8 LC_CTYPE=fr_FR.UTF-8 ./wine control
The command above makes Wine use mostly English, but a few texts are in French instead: the Control panel title, the inetcpl menu item and description, inetcpl title and the text that should say "Security settings for zone:" on the Security tab.
Using en_US instead of en_GB works fine. Apparently Wine does something strange when it can't find a translation that matches exactly the given LC_MESSAGES locale.
How to reproduce: * Make sure you have the required locales on your system * Set LC_MESSAGES=en_GB.UTF-8 * Set LC_CTYPE=fr_FR.UTF-8 * Run wine control
http://bugs.winehq.org/show_bug.cgi?id=29924
--- Comment #1 from Lauri Kenttä lauri.kentta@gmail.com 2012-02-18 14:27:57 CST --- "Trash" in explorer.exe also does this.
http://bugs.winehq.org/show_bug.cgi?id=29924
--- Comment #2 from Lauri Kenttä lauri.kentta@gmail.com 2012-03-03 08:49:47 CST --- The reason for this behaviour is that the English neutral sublanguage (en.po) is missing a lot of texts. This seems a bit weird considering that English is the primary language for the project. Is it really important to go though all the texts and check that they're "neutral", or would it be ok to just copy the msgids to msgstrs for the missing texts?
http://bugs.winehq.org/show_bug.cgi?id=29924
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=29924
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com
--- Comment #3 from François Gouget fgouget@codeweavers.com 2012-03-16 05:02:02 CDT --- I ran the command you specified on my computer: LC_MESSAGES=en_GB.UTF-8 LC_CTYPE=fr_FR.UTF-8 ./wine control
But all I get is English, not a trace of French anywhere. Could you recheck? My understanding is that wrc is supposed to generate a fully translated set of resources, using the msgid whenever a translation is missing. So having missing translations in en.po should simply result in Wine's default strings (more or less American English) being used.
http://bugs.winehq.org/show_bug.cgi?id=29924
--- Comment #4 from Julian Rüger jr98@gmx.net 2012-03-16 08:43:26 CDT --- Confirming.
I could not reproduce this until I replaced fr_FR with my system's current locale.
In other words:
LC_MESSAGES=en_GB.UTF-8 LC_CTYPE=fr_FR.UTF-8 ./wine control
seems to work fine on a non-french system, all strings in English, but e.g.
LC_MESSAGES=en_GB.UTF-8 LC_CTYPE=de_DE.UTF-8 ./wine control
for a German system shows a mixed German/English GUI.
http://bugs.winehq.org/show_bug.cgi?id=29924
--- Comment #5 from Lauri Kenttä lauri.kentta@gmail.com 2012-03-16 09:42:35 CDT ---
But all I get is English, not a trace of French anywhere. Could you recheck?
I've checked it many times. Do you have the locales installed? locale -a | grep -e en_GB -e fr_FR
My understanding is that wrc is supposed to generate a fully translated set of resources, using the msgid whenever a translation is missing.
Yes, if the resource exists at all. For example, if I add a translation for msgid "Configure Wine Internet Browser and related settings", the previous msgid "Internet Settings" magically works, too. However, if the resource (STRINGTABLE or whatever) is empty, it's not generated.
http://bugs.winehq.org/show_bug.cgi?id=29924
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from François Gouget fgouget@codeweavers.com 2012-03-26 11:16:43 CDT --- I thought I had en_GB.UTF-8 but I did not (apparently I only had en_US.UTF-8). I have added it and now I can reproduce the problem. Sorry about that.
http://bugs.winehq.org/show_bug.cgi?id=29924
--- Comment #7 from Lauri Kenttä lauri.kentta@gmail.com 2013-02-24 14:31:08 CST --- With en.po at 98%, should we mark this fixed? The behaviour hasn't changed, so the bug will come back if en.po isn't kept up to date.
https://bugs.winehq.org/show_bug.cgi?id=29924
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from François Gouget fgouget@codeweavers.com --- I think we can consider this fixed. The en_GB translation is currently at 100% and it's just a matter of keeping it up to date like every other translation.
https://bugs.winehq.org/show_bug.cgi?id=29924
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.37.