Skip to content

Pootle project tool

Taras Semenenko edited this page Jan 24, 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 --target-project=baz [--language=…]*
pootle project move --source-project=foo --target-project=baz [--language=…]*

Actions that are needed on units

pootle project update --source-project=foo --target-project=baz [--language=…]*
  • Template actions:
    • Add missing units from source to target
    • Remove units missing in source from target
    • Adjust source of a unit in target

default behaviour makes everything, all options like (--can-create, --can-obsolete) restricts default behaviour

  • 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