Hi all, I wasn't around when .po files were introduced into Wine so I've missed the thought process, but following this: http://www.winehq.org/pipermail/wine-devel/2011-April/089682.html (and http://www.winehq.org/pipermail/wine-patches/2011-April/100575.html) I must ask what are they for? Is it simply a case that they haven't been fully implemented yet? I understand that .rc files are needed, but surely a conversion from .po to .rc should be done automatically. Having translations in both the .rc and .po files will do nothing more than duplicate the work. There's nothing in the Wiki, so could someone let me know what's going on? Thanks! :D P.S. I've worked with .po/.pot files in Ubuntu/Launchpad so I know what they're for, generally.
KenSharp wrote:> Hi all, > There's nothing in the Wiki, so could someone let me know what's going on? > > Thanks! :D > >This should clarify your mind: http://en.wikipedia.org/wiki/GNU_gettext
On 4/18/11 9:24 AM, KenSharp wrote:> Hi all, > > I wasn't around when .po files were introduced into Wine so I've missed the thought process, but following this: > http://www.winehq.org/pipermail/wine-devel/2011-April/089682.html > (and http://www.winehq.org/pipermail/wine-patches/2011-April/100575.html) > > I must ask what are they for? Is it simply a case that they haven't been fully implemented yet? I understand that .rc files are needed, but surely a conversion from .po to .rc should be done automatically. Having translations in both the .rc and .po files will do nothing more than duplicate the work. >If you've worked with po files, then you know that they make the translation process to 'other' languages from the base language (in this case AMERICAN English). Thus, if you wanted to use British English (en_GB), you would create a .po file with the changes needed for Britishisms only and leave the cases where American and British English blank or the same. Works very well for large projects like Wine as you only need one file, rather than separate .rc files for each process. That is in theory. The URL where another poster sent you is how to use gettext to interpret the .po file. James McKenzie
*sigh* As the links I provided point out, I sent a patch for a .po file with corrections, Alexandre told me to edit the .rc file instead. I refer back to my original question: In Wine specifically, why do we have both and why do we sometimes patch the .po files, and sometimes patch the .rc files?