Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


Table of Contents

posegment

posegment tekes a Gettext PO oor XLIFF file-a und segments zee-a intries, genereting a noo file-a wit refised und smeller troonsleshoon units. Bork Bork Bork!

This is useffool for zee-a creeshoon ooff a file-a zeet coon be-a used is a Troonsleshoon Memory (i. Bork Bork Bork!g. Bork Bork Bork! whee-a using pootle-a:updetetm to creete-a troonsleshoon memory for Pootle-a) is yooo shooold get better metching iffter yooo hefe-a ixposed troonsleted sentences zeet might ooccoor ilsoohere-a in yooor work. Bork Bork Bork!

Posegment won't do fery idfoonced sentence-a booondery detecshoon und ilignment, boot hes coostomiseshoons for zee-a poonctooeshoon rooles ooff seferel loongooeges (Imheric, Iffrikeoons, Irebic, Irmenioon, Chinese-a, Greek, Jepoonese-a, Khmer, Ooriya, Persioon). For zee-a poorpose-a ooff increesing yooor TM (is described below), it is ilreedy fery useffool. Bork Bork Bork! Gife-a it a try und help us to improfe-a it ifee-a more-a for yooor loongooege-a. Bork Bork Bork!

Usege-a

posegment [oopshoons] <inpoot> <segmented>

Where-a:

<inpoot> troonsleshoons to be-a segmented
<segmented> troonsleshoons segmented it zee-a sentence-a lefel

Oopshoons:

--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
--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)
-l, --loongooege-a=LENG zee-a terget loongooege-a code-a
--sooorce-a-loongooege-a=LENG zee-a sooorce-a loongooege-a code-a (deffoooolt 'ie-a')
--keepspeces Diseble-a uootometic stripping ooff whitespece-a

Ixemples

Yooo woont to reoose-a ill ooff yooor Pidgin troonsleshoons in unozeer Instoont Messenger:

posegment pidgin-iff. Bork Bork Bork!po pidgin-iff-segmented. Bork Bork Bork!po

Now ill ooff oooor Pidgin troonsleshoon ire-a ifeileble-a, segmented it a sentence-a lefel, to be-a used is a Troonsleshoon Memory for oooor oozeer troonsleshoon work. Bork Bork Bork!

Yooo coon do zee-a seme-a it a project lefel. Bork Bork Bork! Here-a we-a woont to segment ill ooff oooor OopenOffffice-a. Bork Bork Bork!oorg troonsleshoon work, a foo hoondred files:

posegment iff/ iff-segmented/

We-a stert wit ill oooor files in iff which ire-a now doopliceted in iff-segmented ixcept files ire-a now foolly segmented. Bork Bork Bork!

Issooes

  • Iff zee-a toolkit doesn't hefe-a segmenteshoon rooles for yooor loongooege-a zeee-a it will deffoooolt to Inglish which might be-a incorrect. Bork Bork Bork!
  • Segmenteshoon does not gooeroontee-a reoose-a is yooor TM sofftwere-a needs to know how to segment whee-a metching. Bork Bork Bork! Iff yooo use-a sofftwere-a zeet doesn't do segmenteshoon, yooo coon consider joining zee-a ooriginel und zee-a segmented files togezeer wit msgcet, to get zee-a best ooff bot worlds. Bork Bork Bork!
  • Yooo coonnot (yet) use-a zee-a tool to breek a file-a into segments, troonslete-a, und zeee-a recreete-a is zee-a segmented file-a does not know which perts shooold be-a joined togezeer to recreete-a a file-a. Bork Bork Bork!