http://bugs.winehq.org/show_bug.cgi?id=12097
Summary: Wine 1.0 should not ship out-of-sync resource translations Product: Wine Version: CVS/GIT Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
As seen on http://pf128.krakow.sdi.tpnet.pl/wine-transl/ we have a lot of out-of-sync resources.
Sometimes it's menus missing only a separator and some of them are probably false positives (e.g. Korean dialogs declares a font while English doesn't. But they probably need to to have Korean characters. However it would be good to have a confirmation). But often these are missing menu items or stringtable entries. This can lead to shell folders (like My Documents) not to be created or empty strings like in http://www.winehq.org/pipermail/wine-devel/attachments/20060816/1a027491/add... .
I think as Wine 1.0 should be a stable release we shouldn't ship such resources. We could try e.g. to add an options to wrc to copy missing strings from English stringtables, while for other resources surround them by "#ifdef INCLUDE_BROKEN_RESOURCES" that wouldn't be set when compiling Wine but would be used be used by the statistic scripts to notify the translators about broken resources. Another solution would be to use something like the po/mo files.
http://bugs.winehq.org/show_bug.cgi?id=12097
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.0.0
http://bugs.winehq.org/show_bug.cgi?id=12097
Dwayne Bailey dwayne@translate.org.za changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dwayne@translate.org.za
--- Comment #1 from Dwayne Bailey dwayne@translate.org.za 2008-04-24 04:17:47 --- Some solution suggestions that I can suggest based on rc2po: http://translate.sourceforge.net/wiki/toolkit/rc2po
Out-of-sync resources --------------------- Using the translation recovery approach: 1. rc2po -t En.rc Qq.rc Qq.po (first create a PO file with existing translations) 2. po2rc -t En.rc Qq.po Qq.rc (Now create an updated .rc)
The new output Qq.rc will contain everything needed from En.rc since po2rc uses En.rc as a template and will place English strings for untranslated items.
It cannot handle sub languages in the same file i.e. en_US and en_GB in the same file but you could get around that by creating En_Gb.rc. Also the recovered translations are based on the IDs within the .rc thus it cannot determine if for instance the translation of a DIALOG CAPTION is a translated based on the current English.
This method will ensure that the .rc is in sync with English even if many of the items are untranslated. If the .po files are stored in Git then these become the reference and can track the status of the translations.
Using PO/MO ----------- I would really recommend this. If WINE is able to use .rc files with a Mechanism that can extract and use Gettext like files then it makes the whole process of keeping translations up to date much much easier for everyone.
I would suggest extending xgettext to allow extraction from .rc files. Then WINE is free to work out a method of finding translations either at build or execution time, whichever makes the most sense.
In many ways with rc2po this would be possible to do now without any changes needed to create .rc extraction in xgettext.
http://bugs.winehq.org/show_bug.cgi?id=12097
shakaran shakaran@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shakaran@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12097
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.0.0 |1.0.1
--- Comment #2 from Dan Kegel dank@kegel.com 2008-06-11 16:29:43 --- 1.0 is breathing down our necks. Deferring to 1.0.1 (and possibly later).
http://bugs.winehq.org/show_bug.cgi?id=12097
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|1.0.1 |1.0.0
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-06-12 07:23:46 --- No need to defer, this is done now.
http://bugs.winehq.org/show_bug.cgi?id=12097
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-06-13 10:45:20 --- Closing bugs fixed in 1.0-rc5.
http://bugs.winehq.org/show_bug.cgi?id=12097
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=12097
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other
--- Comment #5 from Austin English austinenglish@gmail.com 2012-02-23 15:24:43 CST --- Removing deprecated 'All' Platform.