We're updating the issue view to help you get more done. 

REST API: to retrieve all the list of translators or list of translators in a language


OpenStack I18n (Internationalization) team uses Zanata quite well and now the team uses Zanata 4.3.3: https://translate.openstack.org/ . In OpenStack projects, all the translation statistics are collected to Stackalytics which provides all the statistics in OpenStack activities: not only translation, but also commits, e-mails in mailing list, bug submissions, and so on. Translation stats are available through http://stackalytics.com/?metric=translations and a list of translators with language teams ( http://git.openstack.org/cgit/openstack/i18n/tree/tools/zanata/translation_team.yaml ) is used for Stackalytics to collect contribution statistics (example specification: http://git.openstack.org/cgit/openstack/stackalytics/tree/etc/default_data.json#n23432 ).

Since there is currently no method to retrieve the list of translators via REST API, I18n team has been doing a trick: crawling method from https://translate.openstack.org/language/list in Zanata 3.9.6 (File source: http://git.openstack.org/cgit/openstack/i18n/tree/tools/zanata/zanata_users.py ).

We now use Zanata 4.3.3, but unfortunately such crawling method does not work anymore for the two reasons:
1) New https://translate.openstack.org/languages page is not anonymous anymore. Login is required to see the content in this page.
2) The HTML markups for UI seems quite different from markups in 3.9.6.

[Feature requests]

  • API for all users per team, with role





Ian Y. Choi

Tested Version/s