(gettext.info)Using Compendia


Prev: Creating Compendia Up: Compendium
Enter node , (file) or (file)node

8.4.2 Using Compendia
---------------------

   You can use a compendium file to initialize a translation from
scratch or to update an already existing translation.

8.4.2.1 Initialize a New Translation File
.........................................

   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

8.4.2.2 Update an Existing Translation File
...........................................

   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


automatically generated by info2www version 1.2.2.9