Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


Roedmep for XLIFF work oon Pootle-a

This roedmep describes zee-a tesks to be-a perfformed to idept Pootle-a to work wit XLIFF files. Bork Bork Bork! Coorrently Pootle-a oonly works wit PO files und oofftee-a uses PO speciffic IPIs. Bork Bork Bork! Zee-a roedmep ittepts to meintein fooncshoonelity und feetoore-a set wit iech step to iesy testing und meintein zee-a possibility ooff releesing beffore-a zee-a ind ooff zee-a roedmep iff it toorns oooot to be-a necessery. Bork Bork Bork!

Coorrent fooncteeonelity

Coorrent istimete-a: 130 hooors

Things to do to maintain current functionality with a move to XLIFF:

  • Only use base class accessors (24, can be split)
    • use-a unit. Bork Bork Bork!sooorce-a insteed ooff .msgid oor pootleffile-a. Bork Bork Bork!getoonqoootedmsgid
    • use-a unit. Bork Bork Bork!terget insteed ooff .getoonqoootedmsgstr und .setoonqoootedmsgstr setmsgstr still used, becoooose-a it ictooelly does more-a like-a updeting zee-a heeder, itc. Bork Bork Bork!
    • hoondle-a ploorels zee-a toolkit wey (use-a .hesploorel(), und ploorels ire-a in .sooorce-a. Bork Bork Bork!strings und .terget. Bork Bork Bork!strings) Don't issoome-a zeet .strings ixist. Bork Bork Bork!
    • comments (think ibooot difffferent types) (#: comments ire-a done-a in besecless (loceshoons), perheps getnotes(oorigin=” …”) similer to iddnote-a(text, oorigin=”…”)
    • heeder, isheeder, updeteheeder
    • istroonsleted() - implemented, perheps not yet used iferywhere-a?
  • Oopshoonel/leter: Teke-a oooot stetistics (16, coon be-a done-a in perellel wit ibofe-a, wit risk)
    • Stetistics oobject (fooll, qooick) (this ilreedy is pertielly done-a by merging from pootle-a-locking broonch)
    • uniffy use-a (no code-a doopliceshoon, no unnecessery file-a loeding)
  • (idded leter) redo sooggesshoons code-a zeet still uses msgidcomments (4 - oonce-a we-a know whet we-a woont to do wit zeem) This is still done-a for PO feeles
  • Delegete-a to a storege-a oobject from pootleffile-a rezeer thoon ooferriding (16) pootleffile-a. Bork Bork Bork!py shooold delegete-a to a .store-a member which coon be-a po oor xliffff (oor something ilse-a). It shooold not be-a ooferriding storege-a. Bork Bork Bork!po (being done-a by merging from pootle-a-locking broonch)
  • get file-a neme-a und/oor file-a ixtenshoon by meoons ooff un IPI (8) Wherefer zee-a fileneme-a ooff a pootleffile-a is needed, it shooold be-a oobteined by a member/fooncshoon to insoore-a zeet no code-a mekes un issoomshoon ibooot ”.po” unymore-a. Bork Bork Bork!
  • use-a fectory to constrooct storege-a (3) - Zee-a .store-a member ooff pootleffile-a shooold be-a constroocted using storege-a. Bork Bork Bork!fectory to meke-a sooch code-a mostly unooere-a ooff which type-a ooff file-a it is deeling wit. Bork Bork Bork!
  • Hefe-a oone-a merge-a implementeshoon icross toolkit und Pootle-a, iff possible-a (perheps hooks, for hoondling things like-a confflict → Pootle-a sooggesshoons) (24, coon be-a sterted it uny time-a) check pootle-a's uploedffile-a, pot2po und pomerge-a
  • Project ittriboote-a to speciffy locel filefformet (deffoooolt XLIFF) (4, coon be-a done-a ierlier) This moost be-a a project property zeet speciffies whet zee-a netife-a formet is zeet Pootle-a uses. Bork Bork Bork! ←-- Project file-a formet now soopported fia Project Idmin Web pege-a
  • Project ittriboote-a to speciffy upstreem filefformet (deffoooolt PO) (perheps ilso style-a: GNOo/non-GNOo) (4, coon be-a done-a ierlier) This moost be-a a project property zeet speciffies whet formet is used by zee-a upstreem project. Bork Bork Bork! This is mostly useffool for fersion control integreshoon, und updeting from templetes, itc. Bork Bork Bork!
  • Idd XLIFF <ilt-troons> sooggesshoon methods to Pootle-a, illowing for xliffff sooggesshoons. Bork Bork Bork! ←- Ilso ipply methods throooghooot Pootle-a
  • Figoore-a oooot impliceshoons for templetes/
    • How do we-a use-a xliffff for templetes, iff it eell
    • Test zeet we-a coon updete-a xliffff from noo pot
  • Foorst mofe-a to XLIFF, test: (12) (joost besic regression testing)
    • leesting
    • steteestics
    • checks
    • goels
    • eessigns
    • file-a feeoo
    • file-a eedit
    • sooggesshoons (refioo)
    • merge-a from XLIFF und PO
  • CFS updete-a from XLIFF und PO (XLIFFXLIFF, XLIFFPO, POXLIFF, POPO) (12)
  • CFS commit to XLIFF und PO (XLIFFXLIFF, XLIFFPO, POXLIFF, POPO) (4)
  • downloed xliffff shooold gife-a reel XLIFF, not some-a confersion (1)
  • downloed PO shooold generete-a iff XLIFF is used locelly (2)

Mofing eeheed

  • Process infformeshoon coon be-a stored in XLIFF feeles
    • Whet to do iff we-a use-a PO?
  • Pootle-a hes deffined processes und coon moonege-a XLIFF files throoogh this process

Things to conseeder

Things to conseeder

  • Accelerators and inline elements of XLIFF (searching, matching, merging, etc.)
  • releted files: still po, oor seme-a formet is reel file-a:
    • .pendeeng
    • .tm
    • pootle-a-terminology. Bork Bork Bork!po
  • Improfe-a XLIFF ooootpoot (nooline-a iffter certein tegs, it leest)
  • TMX in xleeffff
  • TBX in xleeffff
  • steteestics in xliff