DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(gettext.info.gz) Using Compendia

Info Catalog (gettext.info.gz) Creating Compendia (gettext.info.gz) Compendium
 
 8.3.14.4 Using Compendia
 ........................
 
 You can use a compendium file to initialize a translation from scratch
 or to update an already existing translation.
 
 8.3.14.5 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.3.14.6 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 `sed'):
 
      msgcat --use-first -o update.po compendium1.po compendium2.po file.po
      msgmerge update.po file.pot | sed -e '/^#~/d' > file.po
 
Info Catalog (gettext.info.gz) Creating Compendia (gettext.info.gz) Compendium
automatically generated byinfo2html