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 |
---|---|---|
WebInterface | http://weblate.ucs.ru/exports/rss/webinterface/ | RSS |
WebInterface/Formats | http://weblate.ucs.ru/exports/rss/webinterface/formats/ | RSS |
WebInterface/ReportBrowser | http://weblate.ucs.ru/exports/rss/webinterface/reportbrowser/ | RSS |
WebInterface/WebDashboard | http://weblate.ucs.ru/exports/rss/webinterface/webdashboard/ | RSS |
WebInterface/WebInterface | http://weblate.ucs.ru/exports/rss/webinterface/webinterface/ | RSS |
WebInterface/WebReports | http://weblate.ucs.ru/exports/rss/webinterface/webreports/ | 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 |
---|---|---|
WebInterface/Formats | http://weblate.ucs.ru/api/components/webinterface/formats/statistics/ | View |
WebInterface/ReportBrowser | http://weblate.ucs.ru/api/components/webinterface/reportbrowser/statistics/ | View |
WebInterface/WebDashboard | http://weblate.ucs.ru/api/components/webinterface/webdashboard/statistics/ | View |
WebInterface/WebInterface | http://weblate.ucs.ru/api/components/webinterface/webinterface/statistics/ | View |
WebInterface/WebReports | http://weblate.ucs.ru/api/components/webinterface/webreports/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/webinterface/formats/translations/
Project | URL | Link |
---|---|---|
WebInterface | http://weblate.ucs.ru/api/projects/webinterface/repository/ | Hook |
WebInterface/Formats | http://weblate.ucs.ru/api/components/webinterface/formats/repository/ | Hook |
WebInterface/ReportBrowser | http://weblate.ucs.ru/api/components/webinterface/reportbrowser/repository/ | Hook |
WebInterface/WebDashboard | http://weblate.ucs.ru/api/components/webinterface/webdashboard/repository/ | Hook |
WebInterface/WebInterface | http://weblate.ucs.ru/api/components/webinterface/webinterface/repository/ | Hook |
WebInterface/WebReports | http://weblate.ucs.ru/api/components/webinterface/webreports/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/webinterface/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 |