ドキュメント ホーム サイトマップ マニュアルページ GNU 情報 検索 印刷形式
 

(gettext.info.gz) Using Compendia

情報カタログ (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
 
情報カタログ (gettext.info.gz) Creating Compendia (gettext.info.gz) Compendium
より自動的に生成されましたinfo2html