Red Hat Bugzilla – Bug 724860
copyTrans needlessly processes the languages that is missing from zanata.xml
Last modified: 2012-01-26 21:00:02 EST
Description of problem:
It seems that copyTrans processes all the enabled languages in Zanata server.
However, it is not all that efficient if zanata.xml only consist a small subset of this.
Version-Release number of selected component (if applicable):
Zanata version 1.4-SNAPSHOT (20110722-0601).
Steps to Reproduce:
0. Assume a document project, and version are created.
1. Add af, de, fr, jp, kr in Administration -> Manage languages
2. Use only one language, af, in zanata.xml
3. Use python client to push: zanata po push --import-po
af, de, fr, jp, kr are all processed.
Only af is needed.
Assigning to Scrum product owner for prioritisation.
CopyTrans actually processes all locales which are valid for the project/iteration in question. In some cases, this is the same as the global server locale list, but not always.
See bug 785031 for a possible feature to synchronise the server locale lists with the local zanata.xml list.