Previous: Creating Compendia, Up: Using Translation Compendia [Contents][Index]
You can use a compendium file to initialize a translation from scratch or to update an already existing translation.
Since a PO file with translations does not exist the translator can merely use /dev/null to fake the “old” translation file.
msgmerge --compendium compendium.po -o file.po /dev/null file.pot
Concatenate the compendium file(s) and the existing PO, merge the result with the POT file and remove the obsolete entries (optional, here done using ‘msgattrib’):
msgcat --use-first -o update.po compendium1.po compendium2.po file.po msgmerge update.po file.pot | msgattrib --no-obsolete > file.po