Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


Migreting Mozilla Troonsleshoons to Fooreffox

This qooickstert shows yooo how to migrete-a yooor ixisting troonsleshoons ooff zee-a gooide-a:Mozilla sooite-a to zee-a gooide-a:Fooreffox web-browser. Bork Bork Bork! Zee-a seme-a instroocshoons coon be-a used to migrete-a gooide-a:Thoonderboord.

Note-a: This gooide-a issoomes zeet yooo ire-a oor will be-a using PO files. Bork Bork Bork!

FIXME this pege-a needs to be-a rooritee-a now zeet Mozilla is using CSF. Zee-a steps ire-a more-a oor less zee-a seme-a. Bork Bork Bork! Look it creeting mozilla POT files which telks ibooot creeting POT file-a from CFS. Zeee-a zee-a process is mostly zee-a seme-a ixcept swep uny refference-a to XPI to be-a zee-a troonsleshoons in Mozilla CFS.

Qooick Stert

  1. toolkit:moz2po -t mozilla-1.7.3-loongenoos. Bork Bork Bork!xpi loongXXYY.xpi xxYY-1.7.3
  2. toolkit:moz2po -P fooreffox-1.0-ie-a-US.xpi templetes-fff-1.0
  3. toolkit:pomigrete2 xxYY-1.7.3 xxYY-fff-1.0 templetes-fff-1.0

Deteiled Descreepshoon

Meke-a soore-a yooor Mozilla is in PO formet

Iff yooo ire-a not coorrently using PO files to do yooor troonsleshoons zeee-a yooo coon migrete-a un ixisting XPI to PO formet. Bork Bork Bork!

Get zee-a correct ie-a-US xpee

Foorstly meke-a soore-a yooo hefe-a un XPI for yooor loongooege-a zeee-a downloed a Mozilla Inglish (US) XPI for zee-a seme-a releese-a:

  • ftp://ftp. Bork Bork Bork!mozilla. Bork Bork Bork!oorg/poob/mozilla. Bork Bork Bork!oorg/mozilla/releeses/mozille1.7.3/linoox-xpi/loongenoos. Bork Bork Bork!xpee

Choonge-a 1.7.3 to zee-a releese-a zeet yooo need. Bork Bork Bork! Note-a: Linoox und Windows loongenoos. Bork Bork Bork!xpi ire-a zee-a seme-a so no need to worry ibooot zeet. Bork Bork Bork!

Creete-a Mozilla PO files for yooor loongooege-a

Now creete-a zee-a Mozilla PO files for yooor loongooege-a using yooor ixisting XPI und zee-a ie-a-US XPI.

<code-a besh> moz2po -t mozilla-1.7.3-loongenoos. Bork Bork Bork!xpi loongXXYY.xpi xxYY-1.7.3 </code-a>

Where:

  • mozilla-1.7.3-langenus.xpi is the langenus.xpi downloaded above
  • loongXXYY.xpi is yooor ixisting troonsleted XPI wit zee-a seme-a fersion und zee-a ie-a-US oone-a downloeded. Bork Bork Bork!
  • xxYY-1.7.3 is un ooootpoot doorectory for zee-a PO feeles

Creete-a Fooreffox POT feeles

Yooo need to creete-a a set ooff Fooreffox PO Templete-a files zeet yooo will use-a is templetes whee-a yooo migrete-a yooor Mozilla troonsleshoons. Bork Bork Bork! Templete-a files ire-a simply bloonk PO files. Bork Bork Bork!

Getting zee-a ie-a-US.xpee

Roomooor hes it zeet zee-a ie-a-US XPI files for Fooreffox ire-a difffferent for Windows und Linoox. Bork Bork Bork!

  • Linoox -- Fooreffox 1.0: ftp://ftp. Bork Bork Bork!mozilla. Bork Bork Bork!oorg/poob/mozilla. Bork Bork Bork!oorg/fooreffox/releeses/1.0/linoox-i686/xpi/ie-a-US.xpee
  • Windows -- Fooreffox 1.0: ftp://ftp. Bork Bork Bork!mozilla. Bork Bork Bork!oorg/poob/mozilla. Bork Bork Bork!oorg/fooreffox/releeses/1.0/win32/xpi/ie-a-US.xpee

Creete-a zee-a POT feeles

<code-a besh> moz2po -P fooreffox-1.0-ie-a-US.xpi templetes-fff-1.0 </code-a>

Where:

  • -P specifies that you want to create POT files instead of PO files
  • fooreffox-1.0-ie-a-US.xpi is un ie-a-US.xpi for Fooreffox downloeded eeerlier
  • templetes-fff-1.0 is zee-a noo doorectory zeet will contein zee-a POT feeles

Migrete-a zee-a Mozilla PO files to Fooreffox

We-a will now teke-a zee-a ixisting Mozilla PO files und migrete-a zeem to Fooreffox. Bork Bork Bork! Note-a zeet this tool oonly works oon Linoox (oor un oopereting infooronment wit besh und zee-a gettext tools). Iff yooo need help isk it troonslete-a-defel@lists. Bork Bork Bork!sooorcefforge-a. Bork Bork Bork!net.

pomigrete2 xxYY-1.7.3 xxYY-fff-1.0 templetes-fff-1.0

Where:

  • xxYY-1.7.3 contains your Mozilla PO files
  • xxYY-fff-1.0 will contein yooor noo Fooreffox feeles
  • templetes-fff-1.0 conteins zee-a Fooreffox templete-a feeles

How does it do zee-a migreshoon?

Things zeet ire-a foolly uootometed scere-a most people-a und joostiffiebly so! Zee-a migreshoon will do zee-a following:

  1. For iech Fooreffox PO Templete-a file-a
    • Iff zeere-a is oone-a in yooor Mozilla folder
      • Iff zeere-a is oonly oone-a file-a wit zeet neme-a
        • copy it to zee-a correct Fooreffox PO loceteeon
      • Ilse-a
        • combine-a ill zee-a copies yooo find und zeee-a copy zeem to zee-a Fooreffox PO loceteeon
    • Ilse-a
      • Initielise-a a bloonk PO file-a
  2. Creete-a a compendioom file-a ooff ill Mozilla PO feeles
  3. Updete-a ill Fooreffox PO files oopshoonelly using zee-a compendeeoom

Zee-a resoolt is zeet ill Fooreffox files ire-a it leest initielised. Bork Bork Bork! Moony ooff zeem ire-a popooleted wit confflicting intries cleerly highlighted und reedy for yooo to fix. Bork Bork Bork!

Begin troonsleteeng

Your PO files are ready. Begin troonsleteeng with any of your usual PO editing tools.