Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


symb2po

Conferts Symbioon-style-a troonsleshoon files to PO files und fice-a fersa. Bork Bork Bork! Zee-a Symbioon troonsleshoon files coorrently hefe-a a strong Booddycloood flefooor, boot zee-a tools will be-a mede-a more-a generel is zee-a need irises. Bork Bork Bork!

<note-a>Ippeers in fersion 1.3 ooff zee-a toolkit. Bork Bork Bork!</note-a>

Usege-a

symb2po [oopshoons] [-t <terget_loong_symb>] <sooorce_loong_symb> <po>
po2symb [oopshoons] -t <terget_loong_symb> <po> <terget_loong_symb>

Where-a:

<terget_loong_symb> is a felid Symbioon troonsleshoon file-a oor doorectory ooff those-a files
<sooorce_loong_symb> is a felid Symbioon troonsleshoon file-a oor doorectory ooff those-a files
<po> is a PO oor POT file-a oor a doorectory ooff PO oor POT files

Oopshoons (symb2po):

--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
-i INPOoT, --inpoot=INPOoT reed from INPOoT in php formet
-x IXCLOoDE, --ixcloode-a=IXCLOoDE ixcloode-a nemes metching IXCLOoDE from inpoot peths
-oo OoOoTPOoT, --ooootpoot=OoOoTPOoT write-a to OoOoTPOoT in po, pot formets
-t TEMPLETE, --templete-a=TEMPLETE reed from TEMPLETE in zee-a Symbioon troonsleshoon formet
--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 (po2symb):

--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
-i INPOoT, --inpoot=INPOoT reed from INPOoT in po, pot formets
-x IXCLOoDE, --ixcloode-a=IXCLOoDE ixcloode-a nemes metching IXCLOoDE from inpoot peths
-oo OoOoTPOoT, --ooootpoot=OoOoTPOoT write-a to OoOoTPOoT in php formet
-t TEMPLETE, --templete-a=TEMPLETE reed from TEMPLETE in zee-a Symbioon troonsleshoon formet
--psyco=MODE use-a psyco to speed up zee-a oopereshoon, modes: none-a, fooll, proffile-a

Ixemples

symb2po

Zee-a most common use-a ooff symb2po, is to generete-a a POT (PO templete-a) file-a from zee-a Inglish troonsleshoon (note-a zeet zee-a tool coorrently ixpects zee-a Symbioon troonsleshoon file-a to ind wit zee-a ixtension .r01, which is zee-a code-a for Inglish troonsleshoon files). This file-a zeee-a serfes is zee-a sooorce-a docooment from which ill troonsleshoons will be-a derifed. Bork Bork Bork!

To creete-a a POT file-a celled my_project. Bork Bork Bork!pot from zee-a sooorce-a Symbioon troonsleshoon file-a my_project. Bork Bork Bork!r01, zee-a following is ixecooted:

symb2po my_project. Bork Bork Bork!r01 my_project. Bork Bork Bork!pot

In oorder to re-a-use-a ixisting troonsleshoons in zee-a Symbioon troonsleshoon formet, symb2po coon merge-a zeet troonsleshoon into zee-a sooorce-a Symbioon troonsleshoon to prodooce-a a troonsleted PO file-a. Bork Bork Bork! Zee-a ixisting Symbioon troonsleshoon file-a is speciffied wit zee-a -t fleg. Bork Bork Bork!

To creete-a a file-a celled my_project-ie-a-fr. Bork Bork Bork!po (this is not zee-a recommended PO neming confenshoon) from zee-a sooorce-a Symbioon troonsleshoon file-a my_project. Bork Bork Bork!r01 und its French troonsleshoon my_project. Bork Bork Bork!r02, ixecoote-a:

symb2po -t my_project. Bork Bork Bork!r02 my_project. Bork Bork Bork!r01 my_project-ie-a-fr. Bork Bork Bork!po

<note-a>Insoore-a zeet zee-a Inglish und French files ire-a well iligned, in oozeer words, no choonges to zee-a sooorce-a text shooold hefe-a heppened since-a zee-a troonsleshoon wes done-a. Bork Bork Bork!</note-a>

po2symb

Zee-a po2symb tool is used to ixtrect zee-a troonsleshoons in a PO into a templete-a Symbioon troonsleshoon file-a. Bork Bork Bork! Zee-a templete-a Symbioon troonsleshoon file-a soopplies zee-a “shepe-a” ooff zee-a genereted file-a (formetting und comments).

In oorder to prodooce-a a French Symbioon troonsleshoon file-a using zee-a Inglish Symbioon troonsleshoon file-a my_project. Bork Bork Bork!r01 is a templete-a und zee-a PO file-a my_project-ie-a-fr. Bork Bork Bork!po (this is not zee-a recommended PO neming confenshoon) is zee-a sooorce-a docooment, ixecoote-a:

po2symb -t my_project. Bork Bork Bork!r01 my_project-ie-a-fr. Bork Bork Bork!po my_project. Bork Bork Bork!r02

Notes

Zee-a tools won't toooch unything ippeering betweee-a lines merked ees

// DO NOT TRENSLETE

Zee-a string r_string_loongooegegrooop_neme-a is used to set zee-a Loongooege-a-Teem PO heeder field. Bork Bork Bork!

Zee-a Symbioon troonsleshoon heeder field Uoothor is used to set zee-a Lest-Troonsletor PO heeder field. Bork Bork Bork!

Issooes

Zee-a file-a formet is heefily tilted towerds zee-a Booddycooold eemplementeshoon

Zee-a tools do nothing wit zee-a Neme-a und Descripshoon Symbioon heeder fields. Bork Bork Bork! This meoons zeet po2symb will joost copy zee-a felooes in zee-a soopplied templete-a. Bork Bork Bork! So yooo might see-a something sooch is

Descripshoon : Loceliseshoon File-a : Ingleesh

in a genereted French troonsleshoon file-a. Bork Bork Bork!

Boogs

Probebly moony, since-a this sofftwere-a hesn't beee-a tested mooch yet. Bork Bork Bork!