You can retrieve various data from Weblate in machine readable format.
RSS feeds
To follow translation progress you can use RSS feeds which include all important changes in translation. More information about exported RSS feeds is available in the documentation.
Project | URL | Link |
---|---|---|
Test | http://translate.sugarizer.org/exports/rss/test/ | RSS |
Test/l10nstudy | http://translate.sugarizer.org/exports/rss/test/l10nstudy/ | RSS |
There are also per language RSS feeds available, you can construct them by appending a language code to the above URLs.
Statistics
Translation statistics for every component in the JSON format allow you to use these data in other websites or tools. Format of the data is described in the documentation.
Project | URL | Link |
---|---|---|
Test/l10nstudy | http://translate.sugarizer.org/api/components/test/l10nstudy/statistics/ | View |
For example getting stats for all translations in one component can be done by:
curl \ -H "Authorization: Token TOKEN" \ http://translate.sugarizer.org/api/components/test/l10nstudy/translations/
Notification hooks
With notification hooks, Weblate will automatically import changes done by your developers and will allow continuous translation. More information is available in the documentation.
Project | URL | Link |
---|---|---|
Test | http://translate.sugarizer.org/api/projects/test/repository/ | Hook |
Test/l10nstudy | http://translate.sugarizer.org/api/components/test/l10nstudy/repository/ | Hook |
For example telling Weblate to pull remote repository can be done by:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ http://translate.sugarizer.org/api/projects/test/repository/
Weblate also supports direct notification from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://translate.sugarizer.org/hooks/github/ | See documentation for detailed instructions |
GitLab | http://translate.sugarizer.org/hooks/gitlab/ | See documentation for detailed instructions |
Bitbucket | http://translate.sugarizer.org/hooks/bitbucket/ | See documentation for detailed instructions |