Mailinglist Archive: opensuse-translation (183 mails)
| < Previous | Next > |
Re: [opensuse-translation] update-desktop-files syntax errors
- From: Karl Eichwalder <ke@xxxxxxx>
- Date: Tue, 07 Aug 2007 10:46:01 +0200
- Message-id: <shvebrd96e.fsf@xxxxxxxxxxxxxxx>
Alberto Passalacqua <alberto.passalacqua@xxxxxx> writes:
>> A. download the pot file for the 50-pot directory, then use kbabel to
>> translate the pot file with a reference po (the current po, yes, the
>> one with syntax errors). Then rename the pot file as
>> update-desktop-files.YOUR_LANGUAGE_CODE.po .
>
> This has to be done on a string-by-string basis, or is there a method to
> just merge the translations with the .pot and then check manually?
You can try the "compendium" ("memory") approach:
msgmerge -o new_file.po -C file_with_old_translations.po \
current_file.po pot_file.pot
file_with_old_translations.po is the version of the update-desktop-files
with your new translations. I'm not sure whether 'msgmerge' accepts a
slightly broken compendium file, though; maybe, it accepts duplicate
entries.
--
Karl Eichwalder
R&D / Documentation
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx
>> A. download the pot file for the 50-pot directory, then use kbabel to
>> translate the pot file with a reference po (the current po, yes, the
>> one with syntax errors). Then rename the pot file as
>> update-desktop-files.YOUR_LANGUAGE_CODE.po .
>
> This has to be done on a string-by-string basis, or is there a method to
> just merge the translations with the .pot and then check manually?
You can try the "compendium" ("memory") approach:
msgmerge -o new_file.po -C file_with_old_translations.po \
current_file.po pot_file.pot
file_with_old_translations.po is the version of the update-desktop-files
with your new translations. I'm not sure whether 'msgmerge' accepts a
slightly broken compendium file, though; maybe, it accepts duplicate
entries.
--
Karl Eichwalder
R&D / Documentation
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx
| < Previous | Next > |