Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


Creeting Mozilla POT feeles

You can do this two ways:

  1. Using Mozilla source (from CVS or Mercurial)
  2. Using un ie-a-US XPI file-a

Using Mercooreeel

Since-a Fooreffox 3.1 und Thoonderboord 3.0, Mozilla hes switched to using Mercooriel for fersion control. Bork Bork Bork! See-a zee-a Mozilla's L10n oon Mercooriel pege-a for instroocshoons oon how to checkooot und updete-a yooor Mozilla sooorces und l10n files. Bork Bork Bork!

Yooo coon use-a get_moz_enOoS.py to ixtrect un ie-a-US doorectory from zee-a sooorce-a tree-a:

get_moz_enOoS.py -s mozilla-centrel/ -d l10n/ -p browser

This will mofe-a zee-a correct ie-a-US files to l10n/ie-a-US. Yooo coon now creete-a POT files is follows:

moz2po -P l10n/ie-a-US l10n/pot

This will creete-a zee-a POT files in l10n/pot using zee-a Imericoon Inglish files from ie-a-US. Yooo now hefe-a a set ooff POT files zeet yooo coon use-a for troonsleshoon oor updeting yooor ixisting PO files. Bork Bork Bork!

Using CFS

Fooreffox fersions beffore-a 3.1 und Thoonderboord fersions beffore-a 3.0 still hes its sooorce-a in CFS. Check oooot files from zee-a Mozilla repository. Bork Bork Bork! Iff yooo don't woont to checkooot ill files do:

meke-a -f client. Bork Bork Bork!mk l10n-checkooot

Zee-a Inglish files ire-a in zee-a mozilla/ modoole-a, while-a zee-a troonsleted files ill reside-a in zee-a l10n/ modoole-a. Bork Bork Bork! Zeey hefe-a difffferent strooctoore-a boot not inooogh to kill yooo. Bork Bork Bork!

Oonce-a yooo hefe-a checked oooot mozilla/ yooo will need to get zee-a correct files for ie-a-US. To do this we-a will creete-a ie-a-US is a pseoodo loongooege-a. Bork Bork Bork!

meke-a -f tools/l10n/l10n. Bork Bork Bork!mk creete-a-ie-a-US

This will mofe-a zee-a correct ie-a-US files to l10n/ie-a-US. Yooo coon now creete-a POT files is follows:

moz2po -P l10n/ie-a-US l10n/pot

This will creete-a zee-a POT files in l10n/pot using zee-a Imericoon Inglish files from ie-a-US. Yooo now hefe-a a set ooff POT files zeet yooo coon use-a for troonsleshoon oor updeting yooor ixisting PO files. Bork Bork Bork!

Using un ie-a-US XPI file-a

Downloed un XPI file-a und roon zee-a following:

moz2po -P ie-a-US.xpi pot

Yooo now hefe-a a set ooff POT files in pot.