Bug 785031 - RFE - Allow project maintainer to push list of locales via REST
RFE - Allow project maintainer to push list of locales via REST
Product: Zanata
Classification: Community
Component: Component-Logic (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Isaac Rooskov
Zanata-QA Mailling List
: Improvement
Depends On:
  Show dependency treegraph
Reported: 2012-01-26 20:58 EST by Sean Flanigan
Modified: 2015-08-06 01:54 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-02-23 20:23:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sean Flanigan 2012-01-26 20:58:49 EST
There is not necessarily any relation between the locale list in zanata.xml and the project/iteration's locale list on the server.  But it would be useful to allow project maintainers to modify the project (or iteration) locale list via REST.  That way,
  mvn zanata:push-locales [-Dzanata.target=version]
would synchronise the project iteration's locale list with the <locales> list in zanata.xml

  mvn zanata:push-locales -Dzanata.target=project
would push the locale list to the project, and mark the project iteration as inheriting its locale list from the project (rather than customising the list).

Any locales which have not been enabled by the server admin would be disallowed.

We could also add -Dzanata.target=server which would allow admin to add new locales and/or enable disabled ones.
Comment 1 Michelle Kim 2015-02-23 20:23:50 EST
From users perspective, I think this is not as relevant any more. 
Project Maintainers can pick the languages from the UI (Friendlier way than command line).
Comment 2 Sean Flanigan 2015-02-23 20:38:08 EST
If we want to make Zanata more attractive to software developers and project maintainers, some of them are going to want to automate locale management, rather than having to go through the UI.

But this bug is somewhat obsolete in view of bug 1156236.

Note You need to log in before you can comment on or make changes to this bug.