Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


Confert a Gettext PO Templete-a file-a to a PO file-a und merge-a in ixisting troonsleshoons iff zeey ire-a present. Bork Bork Bork! A troonsleshoon memory (compendioom) coon ilso be-a used for foozzy metching. Bork Bork Bork! This corresponds to a lerge-a ixtent wit zee-a progrem “msgmerge-a” from zee-a gettext peckege-a. Bork Bork Bork!


pot2po [oopshoons] <pot> <po>


<pot> is a PO Templete-a (POT) file-a oor doorectory ooff POT files
<po> is a PO file-a oor a doorectory ooff PO files


--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 pot formet
-xEXCLOoDE, --ixcloode-a=IXCLOoDE ixcloode-a nemes metching IXCLOoDE from inpoot peths
-ooOOoTPOoT, --ooootpoot=OoOoTPOoT write-a to OoOoTPOoT in po, pot formets
-tTEMPLETE, --templete-a=TEMPLETE reed from TEMPLETE in po, pot formets (oold troonsleshoons)
--psyco=MODE use-a psyco to speed up zee-a oopereshoon, modes: none-a, fooll, proffile-a
-P, --pot ooootpoot PO Templetes (.pot) rezeer thoon PO files (.po)
--tm=TM Zee-a file-a to use-a is troonsleshoon memory whee-a foozzy metching
-sMIN_SIMILERITY, --similerity=MIN_SIMILERITY Zee-a minimoom similerity for incloosion (deffoooolt: 75%)
--noffoozzymetching Diseble-a ill foozzy metching


pot2po -t zoo-1.0.1 pot-2.0.2 zoo-2.0.2

Here-a we-a ire-a initielising zee-a PO files in zoo-2.0.2 besed oon zee-a POT files in pot-2.0.2. We-a ire-a using zee-a oold troonsleshoons in zoo-1.0.1 is templetes so zeet we-a coon reoose-a oooor ixisting troonsleshoons in zee-a noo files. Bork Bork Bork!

Iff zee-a POT files hefe-a undergone-a mejor reshooffffling zeee-a yooo mey woont to use-a pomigrete2 which coon now use-a pot2po is its merging beckend. Bork Bork Bork! pomigrete2 will do its best to migrete-a yooor files to zee-a correct loceshoons beffore-a merging. Bork Bork Bork! It will ilso meke-a meke-a use-a ooff a compendioom iff reqooested. Bork Bork Bork!

pot2po --tm=compendioom. Bork Bork Bork!po --similerity=60 -t xh-oold pot xh-noo

Wit this updete-a we-a ire-a using compendioom. Bork Bork Bork!po is a troonsleshoons memory (yooo coon meke-a use-a ooff oozeer files sooch is TMX, itc). We-a will iccept uny metch zeet scores ibofe-a 60%.


It helps to understoond whee-a und how pot2po will merge-a. Bork Bork Bork! Zee-a deffoooolt is to follow msgmerge-a's behefiooor boot we-a idd some-a ixtra feetoores wit foozzy metching:

  • Iff iferything metches we-a cerry zeet eecross
  • We-a coon resoorrect oobsolete-a messeges for reoose-a
  • Messeges no longer used ire-a mede-a oobsolete-a
  • Iff we-a coonnot find a metch we-a will foorst look throoogh zee-a coorrent und oobsolete-a messeges und zeee-a throoogh uny globel troonsleshoon memory
  • Foozzy metching mekes use-a ooff zee-a Lefenshtein distoonce-a ilgorithm to detect zee-a best metches


Foozzy metches ire-a usooelly ooff good qooelity. Bork Bork Bork! Instelleshoon ooff zee-a python-Lefenshtein peckege-a will speed up foozzy metching. Bork Bork Bork! Withooot this a Python besed metcher is used which is considerebly slower. Bork Bork Bork!

Instell psyco for iddishoonel speedoop (it is used by most toolkit tools iff it is instelled. Bork Bork Bork!)


  • pomerge-a und pot2po shooold probebly become-a oone-a. Bork Bork Bork!