Hello,
I can see that the Brazilian translation is bad, so I'm translating winecfg. I followed the instruction in the wiki [1] to create a .po file. At first I tried to recover from the file Pt.rc
rc2po -t En.rc Pt.rc Pt.po
but I didn't have much luck, no existing translations are shown. Adding the options
--lang=LANG_PORTUGUESE --sublang=SUBLANG_PORTUGUESE_BRAZILIAN
or even just
--lang=LANG_PORTUGUESE
fails to create the file. Not much of a problem, I started from scratch. The problem is, when I use the .po file to create the .rc file
po2rc --lang=LANG_PORTUGUESE --sublang=SUBLANG_PORTUGUESE_BRAZILIAN -t En.rc Pt.po Pt.rc
only Brazilian Portuguese entries are created, and the Pt.rc file had "Portuguese Portuguese" entries as well.
What should I do?
Gustavo.
Am 17.06.2010 19:47, schrieb Gustavo:
Hello,
I can see that the Brazilian translation is bad, so I'm translating winecfg. I followed the instruction in the wiki [1] to create a .po file. At first I tried to recover from the file Pt.rc
rc2po -t En.rc Pt.rc Pt.po
but I didn't have much luck, no existing translations are shown. Adding the options
--lang=LANG_PORTUGUESE --sublang=SUBLANG_PORTUGUESE_BRAZILIAN
or even just
--lang=LANG_PORTUGUESE
fails to create the file. Not much of a problem, I started from scratch. The problem is, when I use the .po file to create the .rc file
po2rc --lang=LANG_PORTUGUESE --sublang=SUBLANG_PORTUGUESE_BRAZILIAN -t En.rc Pt.po Pt.rc
only Brazilian Portuguese entries are created, and the Pt.rc file had "Portuguese Portuguese" entries as well.
What should I do?
Gustavo.
Try editing the rc files directly, it is not that hard. also you might want to change some sizes(when text is wrapped in your rebuild version of winecfg), that is also done in the rc files...
Hello Gustavo,
On 06/17/2010 07:47 PM, Gustavo wrote:
I can see that the Brazilian translation is bad, so I'm translating winecfg. I followed the instruction in the wiki [1] to create a .po file. At first I tried to recover from the file Pt.rc
rc2po -t En.rc Pt.rc Pt.po
but I didn't have much luck, no existing translations are shown. Adding the options
there is a bug in rc2po that prevents the generation of a PO file from an existing translation. Paul and I work with a hacked up version.
--lang=LANG_PORTUGUESE --sublang=SUBLANG_PORTUGUESE_BRAZILIAN
or even just
--lang=LANG_PORTUGUESE
fails to create the file. Not much of a problem, I started from scratch. The problem is, when I use the .po file to create the .rc file
po2rc --lang=LANG_PORTUGUESE --sublang=SUBLANG_PORTUGUESE_BRAZILIAN -t En.rc Pt.po Pt.rc
only Brazilian Portuguese entries are created, and the Pt.rc file had "Portuguese Portuguese" entries as well.
What should I do?
If you prefer PO files please let Paul and I know and we can try (there are other bugs in rc2po) to provide them to you.
bye michael
Sorry, forgot to CC.
2010/6/17 André Hentschel nerv@dawncrow.de
Try editing the rc files directly, it is not that hard. also you might want to change some sizes(when text is wrapped in your rebuild version of winecfg), that is also done in the rc files...
--
Best Regards, André Hentschel
No that you mentioned it, it looks like po2rc is buggy as well. The entries in the .rc file generated sometimes are repeated.
For example:
GROUPBOX " &Resolução da Tela ",IDC_STATIC,8,95,244,49 [...]
GROUPBOX " &Resolução da Tela ",IDC_STATIC,8,151,244,63 [...]
While it should actually be
GROUPBOX " Direct3D ",IDC_STATIC,8,95,244,49 [...]
GROUPBOX " &Resolução da Tela ",IDC_STATIC,8,151,244,63 [...]
I double checked the .po file, and it translates Direct3D as Direct3D.
I'll edit the .rc files directly :/
Em 17 de junho de 2010 18:12, Michael Stefaniuc mstefani@redhat.comescreveu:
Hello Gustavo,
If you prefer PO files please let Paul and I know and we can try (there are other bugs in rc2po) to provide them to you.
Well, nevermind, I can edit .rc files directly.
I've already finished translating the winecfg, now I'm going to test it. I'll send the patches once I'm done.
On 06/17/2010 11:48 PM, Gustavo wrote:
Sorry, forgot to CC.
2010/6/17 André Hentschel <nerv@dawncrow.de mailto:nerv@dawncrow.de>
Try editing the rc files directly, it is not that hard. also you might want to change some sizes(when text is wrapped in your rebuild version of winecfg), that is also done in the rc files... -- Best Regards, André Hentschel
No that you mentioned it, it looks like po2rc is buggy as well. The entries in the .rc file generated sometimes are repeated.
po2rc has even more bugs. Now i'm fighting with it to read the po file as utf-8 and not as ASCII. Having to filter out non 7bit clean characters makes po2rc pretty pointless. There is a reason why Paul and I pledged to deal with this pain...
bye michael
For example:
GROUPBOX " &Resolução da Tela ",IDC_STATIC,8,95,244,49 [...] GROUPBOX " &Resolução da Tela ",IDC_STATIC,8,151,244,63 [...]
While it should actually be
GROUPBOX " Direct3D ",IDC_STATIC,8,95,244,49 [...] GROUPBOX " &Resolução da Tela ",IDC_STATIC,8,151,244,63 [...]
I double checked the .po file, and it translates Direct3D as Direct3D.
I'll edit the .rc files directly :/
Em 17 de junho de 2010 18:12, Michael Stefaniuc <mstefani@redhat.com mailto:mstefani@redhat.com> escreveu:
Hello Gustavo, If you prefer PO files please let Paul and I know and we can try (there are other bugs in rc2po) to provide them to you.
Well, nevermind, I can edit .rc files directly.
I've already finished translating the winecfg, now I'm going to test it. I'll send the patches once I'm done.