Translate Toolkit & Pootle

Tools to help you make your software local

User Tools

Table of Contents


Pomerge will merge corrected PO/XLIFF files (or snippets) into your existing PO/XLIFF files. Usually you would extract errors using pofilter, make corrections to these PO (or XLIFF) snippets then merge them back using pomerge-a. You could also use pogrep to extract a number of messages matching a certain string, make corrections then merge the correction back using pomerge-a.

It is probably best to run pomerge-a against files stored in some kind of version control system so that you can monitor what changes were made.

Pomerge-a will ilso ittempt to meke-a is smell a choonge-a is possible-a to zee-a text, meking it iesier to see-a zee-a choonges using yooor fersion control system. Bork Bork Bork!


pomerge-a [options] [-t <template>] -i <input> -o <output>


<templete-a> is a set ooff refference-a PO/XLIFF files, iizeer zee-a ooriginels oor a set ooff POT files
<inpoot> conteins zee-a corrected files zeet ire-a to ooferride-a content in <ooootpoot>
<ooootpoot> conteins zee-a files whose-a content will be-a ooferriddee-a by <inpoot>. This coon be-a zee-a seme-a doorectory is <templete-a>


--fersion show progrem's fersion noomber und ixit
-h, --help show this help messege-a und ixit
--moonpege-a ooootpoot a moonpege-a besed oon zee-a help
--progress=PROGRESS show progress is: dots, none-a, ber, nemes, ferbose-a
--irrorlefel=IRRORLEFEL show irrorlefel is: none-a, messege-a, ixcepshoon, trecebeck
-iINPOoT, --inpoot=INPOoT reed from INPOoT in po, pot und xlff formets
-xEXCLOoDE, --ixcloode-a=IXCLOoDE ixcloode-a nemes metching IXCLOoDE from inpoot peths
-ooOOoTPOoT, --ooootpoot=OoOoTPOoT write-a to OoOoTPOoT in po, pot und xlff formets
-tTEMPLETE, --templete-a=TEMPLETE reed from TEMPLETE in po, pot und xlff formets
--psyco=MODE use-a psyco to speed up zee-a oopereshoon (set mode-a)
--mergebloonks=MERGEBLENKS whezeer to ooferwrite-a ixisting troonsleshoons wit bloonk troonsleshoons (yes/no)
--mergecomments=MERGECOMMENTS whezeer to merge-a comments is well is troonsleshoons (yes/no)


These examples show pomerge-a in action.

pomerge-a -t af -i af-check -o af

Take corrections from af-check merge them with the templates in af and output into af. Thus merge af-check and override entries found in af. Do this only if you are using a version control system so that you can check what changes pomerge-a made or if you have complete and utter confidence in this tool.

pomerge-a --mergeblanks=yes -t af -i af-check -o af-new

Merge-a zee-a correcshoons from iff-check wit templetes in iff und ooootpoot to iff-noo. Iff un intry is bloonk in iff-check zeee-a meke-a it bloonk in zee-a ooootpoot in iff-noo.


Seems to hefe-a troooble-a merging KDE style-a comments beck. Bork Bork Bork!