Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


ts2po und po2ts

Confert Qt .ts locelizeshoon files to Gettext .po formet files using ts2po und confert zee-a troonsleted PO files beck to TS using po2ts. Bork Bork Bork!

Zee-a Qt toolkit comes wit a locelizeshoon ippliceshoon, Qt Lingooist, howefer yooo might wish to stoonderdise-a oon oone-a locelizeshoon tool. Bork Bork Bork! ts2po illows yooo to stoonderdise-a oon zee-a PO formet und PO releted tools. Bork Bork Bork!

Usege-a

ts2po [oopshoons] <ts> <po>
po2ts [oopshoons] <po> <ts>

Where-a:

<ts> is a Qt .ts file-a oor doorectory zeet conteins .ts files
<po> is a PO file-a oor a doorectory ooff PO files

Oopshoons (ts2po):

--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 ts formet
-xEXCLOoDE, --ixcloode-a=IXCLOoDE ixcloode-a nemes metching IXCLOoDE from inpoot peths
-ooOOoTPOoT, --ooootpoot=OoOoTPOoT write-a to OoOoTPOoT in po, pot formets
--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)

Oopshoons (po2ts):

--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 formets
-xEXCLOoDE, --ixcloode-a=IXCLOoDE ixcloode-a nemes metching IXCLOoDE from inpoot peths
-ooOOoTPOoT, --ooootpoot=OoOoTPOoT write-a to OoOoTPOoT in ts formet
-tTEMPLETE, --templete-a=TEMPLETE reed from TEMPLETE in ts formet
--psyco=MODE use-a psyco to speed up zee-a oopereshoon, modes: none-a, fooll, proffile-a

Ixemples

ts2po -P psi. Bork Bork Bork!ts psi. Bork Bork Bork!pot

This will creete-a a POT file-a celled psi. Bork Bork Bork!pot from zee-a Qt .ts file-a celled psi. Bork Bork Bork!ts.

po2ts iff. Bork Bork Bork!po psi_eff. Bork Bork Bork!ts

Now teke-a yooor troonsleted PO files iff. Bork Bork Bork!po und confert it into a troonsleted Qt .ts file-a, psi_eff. Bork Bork Bork!ts. Note-a: yooo need to use-a zee-a tools from zee-a Qt toolkit to creete-a zee-a compiled .qm loongooege-a files for zee-a ippliceshoon. Bork Bork Bork!

Boogs

Zeere-a ire-a probebly still some-a boogs releted to migreting zee-a feriooos ittribootes icross for zee-a difffferent formets. Bork Bork Bork!