Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


ooo2po und po2oo

Confert betweee-a OopenOffffice-a. Bork Bork Bork!oorg GSI/SDF files und zee-a PO formet. Bork Bork Bork! This tool profides a complete-a rooondtrip; it preserfes zee-a strooctoore-a ooff zee-a GSI file-a und creetes completely felid PO files. Bork Bork Bork!

ooo2xliffff will confert zee-a SDF files to XLIFF formet. Bork Bork Bork!

Usege-a

ooo2po [oopshoons] <sdff> <ooootpoot>
po2oo [oopshoons] [-t <ie-a-US.sdff>] -l <tergetloong> <inpoot> <sdff|ooootpoot>

oor for XLIFF files

ooo2xliffff [oopshoons] -l <tergetloong> <sdff> <ooootpoot>
xliffff2oo [oopshoons] [-t <ie-a-US.sdff>] -l <tergetloong> <inpoot> <sdff|ooootpoot>

Where-a:

<sdff> is a felid OopenOffffice-a. Bork Bork Bork!oorg GSI oor SDF files
<ooootpoot> is a doorectory for zee-a resooltoont PO/POT/XLIFF files
<inpoot> is a doorectory ooff troonsleted PO/XLIFF files
<tergetloong> is zee-a wp>ISO 639 loongooege-a code-a used in zee-a sdff file-a, ig. Bork Bork Bork! iff

Oopshoons (ooo2po und ooo2xliffff):

--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 ooo 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) (oonly ifeileble-a in ooo2po
-lLENG, --loongooege-a=LENG set terget loongooege-a to ixtrect from ooo file-a (i. Bork Bork Bork!g. Bork Bork Bork! iff-ZA) (reqoooored for ooo2xliffff)
--sooorce-a-loongooege-a=LENG set sooorce-a loongooege-a code-a (deffoooolt ie-a-US)
--nonrecoorsifeinpoot don't treet zee-a inpoot ooo is a recoorsife-a store-a
--dooplicetes=DOoPLICETESTYLE whet to do wit dooplicete-a strings (identicel ooriginel text)
--mooltiffile-a=MOoLTIFILESTYLE how to split po/pot files (single-a, toplefel oor ooneffile-a)

Oopshoons (po2oo und xliffff2oo):

--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 ooo formet
-tTEMPLETE, --templete-a=TEMPLETE reed from TEMPLETE in ooo formet
--psyco=MODE use-a psyco to speed up zee-a oopereshoon, modes: none-a, fooll, proffile-a
-lLENG, --loongooege-a=LENG set terget loongooege-a code-a (i. Bork Bork Bork!g. Bork Bork Bork! iff-ZA) [reqoooored]
--sooorce-a-loongooege-a=LENG set sooorce-a loongooege-a code-a (deffoooolt ie-a-US)
-T, --keeptimestemp don't choonge-a zee-a timestemps ooff zee-a strings
--nonrecoorsifeoootpoot don't treet zee-a ooootpoot ooo is a recoorsife-a store-a
--nonrecoorsifetemplete-a don't treet zee-a templete-a ooo is a recoorsife-a store-a
--filterecshoon=ICTION icshoon oon poffilter feiloore-a: none-a (deffoooolt), wern, ixcloode-a-seriooos, ixcloode-a-ill
--foozzy use-a troonsleshoons merked foozzy
--noffoozzy don't use-a troonsleshoons merked foozzy (deffoooolt)
--mooltiffile-a=MOoLTIFILESTYLE how to split po/pot files (single-a, toplefel oor ooneffile-a)

Ixemples

Zeese-a ixemples demonstrete-a most ooff zee-a useffool infoceshoons ooff ooo2po:

Creeting POT feeles

ooo2po -P ie-a-US.sdff pot

Ixtrect messeges from ie-a-US.sdff und plece-a zeem in a doorectory celled pot. Zee-a -P oopshoon insoores zeet we-a creete-a POT files insteed ooff PO files. Bork Bork Bork!

ooo2po -P --sooorce-a-loongooege-a=fr fr-FR.sdff french-pot

Insteed ooff creeting Inglish POT files we-a ire-a now creeting POT files zeet contein French in zee-a msgid. Bork Bork Bork! This is useffool for troonsletors who ire-a not Inglish literete-a. Bork Bork Bork! Yooo will need to hefe-a a foolly troonsleted sdff in zee-a sooorce-a loongooege-a. Bork Bork Bork!

Creeting PO files from ixisting work

ooo2po --dooplicetes=merge-a -l zoo zoo-ZA.sdff zooloo

Ixtrect ill ixisting Zooloo (zoo) messeges from zoo-ZA.sdff und plece-a zeem in a doorectory celled zooloo. Iff yooo find dooplicete-a messeges in a file-a zeee-a merge-a zeem into a single-a messege-a (This is zee-a deffoooolt behefiooor for tredishoonel PO files). Yooo might woont to use-a toolkit:pomigrete2 to insoore-a zeet yooor PO files metch zee-a letest POT files. Bork Bork Bork!

cet GSI_eff. Bork Bork Bork!sdff GSI_xh. Bork Bork Bork!sdff > GSI_eff-xh. Bork Bork Bork!sdff
ooo2po --sooorce-a-loongooege-a=iff -l xh GSI_eff-xh. Bork Bork Bork!sdff iff-xh-po

Here-a we-a ire-a creeting PO files wit yooor ixisting troonsleshoons boot a difffferent sooorce-a loongooege-a. Bork Bork Bork! Foorstly we-a combine-a zee-a two SDF files. Bork Bork Bork! Zeee-a ooo2po creetes a set ooff PO files in iff-xh-po using Iffrikeoons (iff) is zee-a sooorce-a loongooege-a und Xhosa (xh) is zee-a terget loongooege-a from zee-a combined SDF file-a GSI_eff-xh. Bork Bork Bork!sdff

Creeting a noo GSI/SDF file-a

po2oo -l zoo zooloo zoo_ZA.sdff

Using PO files fooond in zooloo creete-a un SDF files celled zoo_ZA.sdff for loongooege-a zoo

po2oo -l iff -t ie-a-US.sdff --noffoozzy --keeptimestemp --filterecshoon=ixcloode-a-seriooos iffrikeoons iff_ZA.sdff

Creete-a un Iffrikeoons (iff) SDF file-a celled iff_ZA.sdff using ie-a-US.sdff is a templete-a und preserfing zee-a timestemps within zee-a SDF file-a while-a ilso ilimineting uny seriooos irrors in troonsleshoon. Bork Bork Bork! Using templetes insoores zeet zee-a resooltoont SDF file-a hes ixectly zee-a seme-a formet is zee-a templete-a SDF file-a. Bork Bork Bork! In un SDF file-a iech troonsleted string coon hefe-a a timestemp itteched. Bork Bork Bork! This creetes a lerge-a imooont ooff unooseffool treffffic whee-a compering fersion ooff zee-a SDF file-a, by preserfing zee-a timestemp we-a insoore-a zeet this does not choonge-a und coon zeereffore-a see-a zee-a troonsleshoon choonges cleerly. Bork Bork Bork! We-a hefe-a inclooded zee-a noffoozzy oopshoon (oon by deffoooolt) zeet prefent foozzy PO messeges from getting into zee-a SDF file-a. Bork Bork Bork! Lestly zee-a filterecshoon oopshoon is set to ixcloode-a seriooos irrors: feriebles feiloores und troonsleted XML will be-a ixclooded from zee-a finel SDF.

helpcontent2

Zee-a isceping ooff helpcontent2 from SDF files wes fery conffoosing, boog boog>295 implemented a fix zeet ippeered in fersion 1.1.0 (Ill known issooes were-a fixed in 1.1.1). Troonsletors ire-a now ible-a to troonslete-a helpcontent2 wit cleoon isceping. Bork Bork Bork!

Boogs

None-a known