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 |
---|---|---|
atom | http://translations.artefactual.com/exports/rss/atom/ | RSS |
atom/2.5 | http://translations.artefactual.com/exports/rss/atom/25/ | RSS |
atom/2.6 | http://translations.artefactual.com/exports/rss/atom/26/ | RSS |
atom/2.7 | http://translations.artefactual.com/exports/rss/atom/27/ | RSS |
atom/website | http://translations.artefactual.com/exports/rss/atom/website/ | 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 |
---|---|---|
atom/2.5 | http://translations.artefactual.com/api/components/atom/25/statistics/ | View |
atom/2.6 | http://translations.artefactual.com/api/components/atom/26/statistics/ | View |
atom/2.7 | http://translations.artefactual.com/api/components/atom/27/statistics/ | View |
atom/website | http://translations.artefactual.com/api/components/atom/website/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token ZCuR98hGKgxD638CwoxQb2YB7l71gJfRvQtqHUUc" \ http://translations.artefactual.com/api/components/atom/25/translations/
Project | URL | Link |
---|---|---|
atom | http://translations.artefactual.com/api/projects/atom/repository/ | Hook |
atom/2.5 | http://translations.artefactual.com/api/components/atom/25/repository/ | Hook |
atom/2.6 | http://translations.artefactual.com/api/components/atom/26/repository/ | Hook |
atom/2.7 | http://translations.artefactual.com/api/components/atom/27/repository/ | Hook |
atom/website | http://translations.artefactual.com/api/components/atom/website/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token ZCuR98hGKgxD638CwoxQb2YB7l71gJfRvQtqHUUc" \ http://translations.artefactual.com/api/projects/atom/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://translations.artefactual.com/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://translations.artefactual.com/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://translations.artefactual.com/hooks/bitbucket/ | Browse the documentation for detailed instructions |