Skip to content

Pootle project tool

Taras Semenenko edited this page Jan 20, 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

default behaviour makes everything, all options like (--no-add, --no-remove)restricts default behaviour

pootle project update ...
  • 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

option --translations can't be used with other options

pootle project update --translations ...
Clone this wiki locally