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 |
---|---|---|
shelter2 | http://weblate.ucs.ru/exports/rss/shelter2/ | RSS |
shelter2/shelter2_development | http://weblate.ucs.ru/exports/rss/shelter2/shelter2_development/ | RSS |
shelter2/shelter2_shelter | http://weblate.ucs.ru/exports/rss/shelter2/shelter2_shelter/ | RSS |
shelter2/shelter_db | http://weblate.ucs.ru/exports/rss/shelter2/shelter_db/ | RSS |
shelter2/shelter_hk | http://weblate.ucs.ru/exports/rss/shelter2/shelter_hk/ | RSS |
shelter2/shelter_medicine | http://weblate.ucs.ru/exports/rss/shelter2/shelter_medicine/ | RSS |
shelter2/shelter_reports | http://weblate.ucs.ru/exports/rss/shelter2/shelter_reports/ | 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 |
---|---|---|
shelter2/shelter2_development | http://weblate.ucs.ru/api/components/shelter2/shelter2_development/statistics/ | View |
shelter2/shelter2_shelter | http://weblate.ucs.ru/api/components/shelter2/shelter2_shelter/statistics/ | View |
shelter2/shelter_db | http://weblate.ucs.ru/api/components/shelter2/shelter_db/statistics/ | View |
shelter2/shelter_hk | http://weblate.ucs.ru/api/components/shelter2/shelter_hk/statistics/ | View |
shelter2/shelter_medicine | http://weblate.ucs.ru/api/components/shelter2/shelter_medicine/statistics/ | View |
shelter2/shelter_reports | http://weblate.ucs.ru/api/components/shelter2/shelter_reports/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ http://weblate.ucs.ru/api/components/shelter2/shelter2_development/translations/
Project | URL | Link |
---|---|---|
shelter2 | http://weblate.ucs.ru/api/projects/shelter2/repository/ | Hook |
shelter2/shelter2_development | http://weblate.ucs.ru/api/components/shelter2/shelter2_development/repository/ | Hook |
shelter2/shelter2_shelter | http://weblate.ucs.ru/api/components/shelter2/shelter2_shelter/repository/ | Hook |
shelter2/shelter_db | http://weblate.ucs.ru/api/components/shelter2/shelter_db/repository/ | Hook |
shelter2/shelter_hk | http://weblate.ucs.ru/api/components/shelter2/shelter_hk/repository/ | Hook |
shelter2/shelter_medicine | http://weblate.ucs.ru/api/components/shelter2/shelter_medicine/repository/ | Hook |
shelter2/shelter_reports | http://weblate.ucs.ru/api/components/shelter2/shelter_reports/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ http://weblate.ucs.ru/api/projects/shelter2/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://weblate.ucs.ru/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://weblate.ucs.ru/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://weblate.ucs.ru/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://weblate.ucs.ru/hooks/pagure/ | Browse the documentation for detailed instructions |