You can retrieve various data from Weblate in machine readable format.
RSS feeds
To follow translation progress you can use RSS feeds, detailing all important translation changes.
Project | URL | Link |
---|---|---|
HSAvantgarde Develop | http://51.145.241.148/exports/rss/hsavantgarde_develop/ | RSS |
HSAvantgarde Develop/Elara 900 | http://51.145.241.148/exports/rss/hsavantgarde_develop/elara-900/ | RSS |
HSAvantgarde Develop/IM 910 | http://51.145.241.148/exports/rss/hsavantgarde_develop/hsslitlampclassicappim910-i18n/ | RSS |
Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.
Statistics
Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.
Project | URL | Link |
---|---|---|
HSAvantgarde Develop/Elara 900 | http://51.145.241.148/api/components/hsavantgarde_develop/elara-900/statistics/ | View |
HSAvantgarde Develop/IM 910 | http://51.145.241.148/api/components/hsavantgarde_develop/hsslitlampclassicappim910-i18n/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TE8DQgwUHDxD70sjma8IngRsBzgFwdVj37MhTd42" \ http://51.145.241.148/api/components/hsavantgarde_develop/elara-900/translations/
Project | URL | Link |
---|---|---|
HSAvantgarde Develop | http://51.145.241.148/api/projects/hsavantgarde_develop/repository/ | Hook |
HSAvantgarde Develop/Elara 900 | http://51.145.241.148/api/components/hsavantgarde_develop/elara-900/repository/ | Hook |
HSAvantgarde Develop/IM 910 | http://51.145.241.148/api/components/hsavantgarde_develop/hsslitlampclassicappim910-i18n/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token TE8DQgwUHDxD70sjma8IngRsBzgFwdVj37MhTd42" \ http://51.145.241.148/api/projects/hsavantgarde_develop/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://51.145.241.148/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://51.145.241.148/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://51.145.241.148/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://51.145.241.148/hooks/pagure/ | Browse the documentation for detailed instructions |