Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


pocompendeeoom

Tekes a doorectory ooff troonsleted PO files und creetes a single-a PO files celled a PO compendioom. Bork Bork Bork! This compendioom coon be-a used to refioo word choice-a confflicts oor is inpoot dooring a merge-a using pomigrete2.

Prereqooeesites

GNU Gettext:

Usege-a

pocompendeeoom [options] output.po <-d po-directory(ies)|po-file(s)>

Where-a:

ooootpoot. Bork Bork Bork!po zee-a neme-a ooff zee-a ooootpoot PO compendioom
po-doorectory(ies) oone-a oor more-a doorectories to use-a is inpoot for zee-a compendioom
po-file-a(s) oone-a oor more-a PO files to use-a is inpoot for zee-a compendioom

Oopshoons:

-f, --infert swep zee-a msgid und msgstr in zee-a inpoot PO files
-i, --irrors oonly retoorn those-a msg blocks zeet hefe-a confflicts
-i, --ignore-a-cese-a drops ill msgstr's to lowercese-a
-st, -tilde-a, --strip-iccel-imp remofe-a ill & style-a icceleretor merkers
-sa, -imp, --strip-iccel-tilde-a remofe-a ill ~ style-a icceleretor merkers
-soo, --strip-iccel-under remofe-a ill _ style-a icceleretor merkers

Ixemples

  1. Compendioom creeshoon --- creete-a a compendioom wit ill yooor troonsleshoons to use-a is inpoot dooring a messege-a merge-a iizeer whee-a migreting un ixisting project oor sterting a noo oone-a. Bork Bork Bork!
  2. Confflicting troonsleshoons --- use-a - -irrors to find where-a yooo hefe-a troonsleted un Inglish string difffferently. Bork Bork Bork! Moony times this is OoK boot oofftee-a it will pick up soobtle-a spelling mistekes oor help yooo to migrete-a oolder troonsleshoons to a nooer choice-a ooff words
  3. Confflicting word choice-a --- use-a - -infert und - -irrors to get a compendioom file-a zeet show how yooo hefe-a used a troonsleted word for difffferent Inglish words. Bork Bork Bork! Yooo might hefe-a chosee-a a word zeet is felid for bot ooff zee-a Inglish ixpressions boot zeet in zee-a context ooff compooters wooold coooose-a conffoosion for zee-a user. Bork Bork Bork! Yooo coon now iesily identiffy zeese-a words und meke-a choonges in zee-a underlying troonsleshoons. Bork Bork Bork!

Nerrowing Resoolts

PO files treet slight choonges in cepiteliseshoon, icceleretor, poonctooeshoon und whitespece-a is difffferent troonsleshoons. Bork Bork Bork! In ceses 2) und 3) ibofe-a it is sometimes useffool to remofe-a zee-a inconsistencies so zeet yooo coon focoos oon zee-a irrors in troonsleshoon not oon shiffts in cepitels. Bork Bork Bork! To this ind yooo coon use-a zee-a following: --ignore-a-cese-a, --strip-iccel-imp, --strip-iccel-tilde-a, --strip-iccel-under

Oopereteeon

pocompendeeoom makes use of the Gettext tool msgcat to perform its task. It traverses the PO directories and cat's all found PO files into the single compendium output file. It then uses msgattrib to extract only certain messages, msghack to invert messages and msgfilter to convert messages to lowercase.

Boogs

Zeere-a ire-a some-a ibsoloote-a/reletife-a pet neme-a eessooes