Hi!
Currently my biggest problem with Zanata - beside the minor annoyances - is the need to click through all the project for changes. As AFAIK there is no built-in notification system, I would like to write a script to pull the current translation state from Zanata.
Preferable this would be a list of API calls with curl, so I could make a script, in which I put the project, the version and the locale, and it says X untranslated, Y translated, Z approved. You get the idea. Is there such a solution for Zanata? If not, are there any alternatives?
Thanks in advance, Balázs Meskó, fellow translator
Update: I see that Zanata has a REST API, and *StatisticsResource *could be what I need. I just need to figure out what to feed into curl. Any ideas?
2017-11-18 13:07 GMT+01:00 Balázs Meskó meskobalazs@gmail.com:
Hi!
Currently my biggest problem with Zanata - beside the minor annoyances - is the need to click through all the project for changes. As AFAIK there is no built-in notification system, I would like to write a script to pull the current translation state from Zanata.
Preferable this would be a list of API calls with curl, so I could make a script, in which I put the project, the version and the locale, and it says X untranslated, Y translated, Z approved. You get the idea. Is there such a solution for Zanata? If not, are there any alternatives?
Thanks in advance, Balázs Meskó, fellow translator
As per describe in https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/r...
Depending on the statistics you require,
`curl https://fedora.zanata.org/rest/stats/proj/*test*/iter/*1.0%60* `curl https://fedora.zanata.org/rest/stats/proj/*test*/iter/*1.0*/doc/test *`*
On Sat, Nov 18, 2017 at 10:31 PM, Balázs Meskó meskobalazs@gmail.com wrote:
Update: I see that Zanata has a REST API, and *StatisticsResource *could be what I need. I just need to figure out what to feed into curl. Any ideas?
2017-11-18 13:07 GMT+01:00 Balázs Meskó meskobalazs@gmail.com:
Hi!
Currently my biggest problem with Zanata - beside the minor annoyances - is the need to click through all the project for changes. As AFAIK there is no built-in notification system, I would like to write a script to pull the current translation state from Zanata.
Preferable this would be a list of API calls with curl, so I could make a script, in which I put the project, the version and the locale, and it says X untranslated, Y translated, Z approved. You get the idea. Is there such a solution for Zanata? If not, are there any alternatives?
Thanks in advance, Balázs Meskó, fellow translator
trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org
Thanks Alex!
Works like a charm.
Regards, Balázs
2017-11-19 22:42 GMT+01:00 Alex Eng aeng@redhat.com:
As per describe in https://zanata.ci.cloudbees.com/job/zanata-api- site/site/zanata-common-api/rest-api-docs/resource_StatisticsResource.html
Depending on the statistics you require,
`curl https://fedora.zanata.org/rest/stats/proj/*test*/iter/*1.0%60* `curl https://fedora.zanata.org/rest/stats/proj/*test*/iter/*1.0*/doc/test *`*
On Sat, Nov 18, 2017 at 10:31 PM, Balázs Meskó meskobalazs@gmail.com wrote:
Update: I see that Zanata has a REST API, and *StatisticsResource *could be what I need. I just need to figure out what to feed into curl. Any ideas?
2017-11-18 13:07 GMT+01:00 Balázs Meskó meskobalazs@gmail.com:
Hi!
Currently my biggest problem with Zanata - beside the minor annoyances - is the need to click through all the project for changes. As AFAIK there is no built-in notification system, I would like to write a script to pull the current translation state from Zanata.
Preferable this would be a list of API calls with curl, so I could make a script, in which I put the project, the version and the locale, and it says X untranslated, Y translated, Z approved. You get the idea. Is there such a solution for Zanata? If not, are there any alternatives?
Thanks in advance, Balázs Meskó, fellow translator
trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org
--
ALEX ENG
ASSOCIATE MANAGER
LOCALISATION TOOLING, CUSTOMER PLATFORM
Red Hat Inc https://www.redhat.com/
193 North Quay, Brisbane City QLD 4000
aeng@redhat.com M: 0423353457 IM: aeng https://red.ht/sig
trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org