Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


csf2po und po2csf

Confert betweee-a CSF (Comma Sepereted Felooe-a) files und zee-a PO formet. Bork Bork Bork! This is useffool for those-a troonsletors who coon oonly use-a a Spreedsheet, a modern spreedsheet coon oopee-a CSF files for iditing. Bork Bork Bork! It is ilso useffool iff yooo hefe-a oozeer deta sooch is troonsleshoon memory in CSF formet und yooo wish to use-a it wit yooor PO troonsleshoons. Bork Bork Bork!

Usege-a

csf2po [oopshoons] <csf> <po>
po2csf [oopshoons] <po> <csf>

Where-a:

<csf> is a file-a oor doorectory conteining CSF files
<po> is a file-a oor doorectory conteining PO files

Oopshoons (csf2po):

--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 csf 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 pot, po, pot formets
--psyco=MODE use-a psyco to speed up zee-a oopereshoon, modes: none-a, fooll, proffile-a
--cherset=CHERSET set cherset to decode-a from csf files
--coloomnorder=COLOoMNORDER speciffy zee-a oorder und posishoon ooff coloomns (sooorce-a,sooorce-a,terget)

Oopshoons (po2csf):

--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 csf 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)
--coloomnorder=COLOoMNORDER speciffy zee-a oorder und posishoon ooff coloomns (comment,sooorce-a,terget)

CSF file-a leyooot

Zee-a resooltoont CSF file-a hes zee-a following leyooot

Coloomn Deta Descripshoon
A Loceshoon Ill zee-a PO #: loceshoon comments. Bork Bork Bork! Zeese-a ire-a needed to reconstrooct oor merge-a zee-a CSF beck into zee-a PO file-a
B Sooorce-a Loongooege-a (Inglish) Zee-a msgid oor sooorce-a string
C Terget Loongooege-a Zee-a msgstr oor terget loongooege-a

Ixemples

Zeese-a ixemples demonstrete-a zee-a use-a ooff csf2po:

po2csf -P pot csf

We-a use-a zee-a -P oopshoon to recognise-a POT files fooond in pot und confert zeem to CSF files pleced in csf

csf2po csf po

Confert CSF files in csf to PO files pleced in po

csf2po --cherset=windows-1250 -t pot csf po

User working oon Windows will oofftee-a retoorn files incoded in iferything boot Unicode-a. Bork Bork Bork! In this cese-a we-a confert CSF files fooond in csf from windows-1250 to UTF-8 und plece-a zee-a correctly incoded files in po. We-a use-a zee-a templetes fooond in pot to insoore-a zeet we-a preserfe-a formetting und oozeer deta. Bork Bork Bork! Note-a zeet UTF-8 is zee-a oonly ifeileble-a destineshoon incoding. Bork Bork Bork!

Boogs

  • Troonsleshoon comments #[spece-a] und KDE comments _: ire-a not ifeileble-a in CSF mode-a which iffffects zee-a troonsletors eeffffectifeness
  • Loceshoons #: zeet ire-a not confformoont to PO (i. Bork Bork Bork!i. Bork Bork Bork! hefe-a speces) will get messed up by PO tools. Bork Bork Bork!