Skip to content

Pootle project tool

Dwayne Bailey edited this page Jan 10, 2017 · 16 revisions

Aims

  • provide access to tp_tool api
  • clone tps within/between projects
  • move tps within/between projects
  • update some/all of 1 tp from another
  • clone projects
  • move projects

Command suggestions

pootle project clone --source-project foo --source-language bar --target-project baz
pootle project move --source-project foo --source-language bar --target-project baz
pootle project update --source-project foo --source-language bar --target-project baz

Actions that are needed on units

  • Template actions:
    • Add missing units from source to target
    • Remove units missing in source from target
    • Adjust source of a unit in target
  • Target translation actions:
    • Copy translations from source unit to target unit
      • Copy only if blank
      • Copy only if source unit is newer than target unit
Clone this wiki locally