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 |
---|---|---|
Kiosk2 | http://weblate.ucs.ru/exports/rss/kiosk2/ | RSS |
Kiosk2/back | http://weblate.ucs.ru/exports/rss/kiosk2/back/ | RSS |
Kiosk2/bk | http://weblate.ucs.ru/exports/rss/kiosk2/bk/ | RSS |
Kiosk2/bk-belarus | http://weblate.ucs.ru/exports/rss/kiosk2/bk-belarus/ | RSS |
Kiosk2/bk-new | http://weblate.ucs.ru/exports/rss/kiosk2/bk-new/ | RSS |
Kiosk2/core | http://weblate.ucs.ru/exports/rss/kiosk2/core/ | RSS |
Kiosk2/default | http://weblate.ucs.ru/exports/rss/kiosk2/default/ | RSS |
Kiosk2/kfc | http://weblate.ucs.ru/exports/rss/kiosk2/kfc/ | RSS |
Kiosk2/kfc-amrest | http://weblate.ucs.ru/exports/rss/kiosk2/kfc-amrest/ | RSS |
Kiosk2/kfc-amrest-default | http://weblate.ucs.ru/exports/rss/kiosk2/kfc-amrest-default/ | RSS |
Kiosk2/kfc-mena | http://weblate.ucs.ru/exports/rss/kiosk2/kfc-mena/ | RSS |
Kiosk2/kfc-yam | http://weblate.ucs.ru/exports/rss/kiosk2/kfc-yam/ | 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 |
---|---|---|
Kiosk2/back | http://weblate.ucs.ru/api/components/kiosk2/back/statistics/ | View |
Kiosk2/bk | http://weblate.ucs.ru/api/components/kiosk2/bk/statistics/ | View |
Kiosk2/bk-belarus | http://weblate.ucs.ru/api/components/kiosk2/bk-belarus/statistics/ | View |
Kiosk2/bk-new | http://weblate.ucs.ru/api/components/kiosk2/bk-new/statistics/ | View |
Kiosk2/core | http://weblate.ucs.ru/api/components/kiosk2/core/statistics/ | View |
Kiosk2/default | http://weblate.ucs.ru/api/components/kiosk2/default/statistics/ | View |
Kiosk2/kfc | http://weblate.ucs.ru/api/components/kiosk2/kfc/statistics/ | View |
Kiosk2/kfc-amrest | http://weblate.ucs.ru/api/components/kiosk2/kfc-amrest/statistics/ | View |
Kiosk2/kfc-amrest-default | http://weblate.ucs.ru/api/components/kiosk2/kfc-amrest-default/statistics/ | View |
Kiosk2/kfc-mena | http://weblate.ucs.ru/api/components/kiosk2/kfc-mena/statistics/ | View |
Kiosk2/kfc-yam | http://weblate.ucs.ru/api/components/kiosk2/kfc-yam/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/kiosk2/back/translations/
Project | URL | Link |
---|---|---|
Kiosk2 | http://weblate.ucs.ru/api/projects/kiosk2/repository/ | Hook |
Kiosk2/back | http://weblate.ucs.ru/api/components/kiosk2/back/repository/ | Hook |
Kiosk2/bk | http://weblate.ucs.ru/api/components/kiosk2/bk/repository/ | Hook |
Kiosk2/bk-belarus | http://weblate.ucs.ru/api/components/kiosk2/bk-belarus/repository/ | Hook |
Kiosk2/bk-new | http://weblate.ucs.ru/api/components/kiosk2/bk-new/repository/ | Hook |
Kiosk2/core | http://weblate.ucs.ru/api/components/kiosk2/core/repository/ | Hook |
Kiosk2/default | http://weblate.ucs.ru/api/components/kiosk2/default/repository/ | Hook |
Kiosk2/kfc | http://weblate.ucs.ru/api/components/kiosk2/kfc/repository/ | Hook |
Kiosk2/kfc-amrest | http://weblate.ucs.ru/api/components/kiosk2/kfc-amrest/repository/ | Hook |
Kiosk2/kfc-amrest-default | http://weblate.ucs.ru/api/components/kiosk2/kfc-amrest-default/repository/ | Hook |
Kiosk2/kfc-mena | http://weblate.ucs.ru/api/components/kiosk2/kfc-mena/repository/ | Hook |
Kiosk2/kfc-yam | http://weblate.ucs.ru/api/components/kiosk2/kfc-yam/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/kiosk2/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 |