[Gimp-docs] ugly hack to update old PO files
Daniel Nylander
po at danielnylander.se
Sat Jan 10 17:03:52 PST 2009
Did some ugly hacking today to update my old PO files with new strings
from the recent POT files and re-using my already translated strings..
This is rather ugly but useful.. just wanted to share this with you guys
cd po/xx # where xx is your language code
pocompendium Compendium.po -d .
# translate/review/edit your Compendium.po file
for a in `find .|grep po$`; do echo $a; msgmerge
--compendium=Compendium.po -U $a ../../pot/$a*; done
# That will update your PO files with strings from the compendium.. i.e
translate one string one time
Daniel
More information about the Gimp-docs
mailing list