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 |
---|---|---|
nymea | http://translate.nymea.io/exports/rss/nymea/ | RSS |
nymea/nymead | http://translate.nymea.io/exports/rss/nymea/nymead/ | 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 |
---|---|---|
nymea/nymead | http://translate.nymea.io/api/components/nymea/nymead/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ http://translate.nymea.io/api/components/nymea/nymead/translations/
Notification hooks
With notification hooks, Weblate will automatically import changes made by your developers, and allows continuous translation.
Project | URL | Link |
---|---|---|
nymea | http://translate.nymea.io/api/projects/nymea/repository/ | Hook |
nymea/nymead | http://translate.nymea.io/api/components/nymea/nymead/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://translate.nymea.io/api/projects/nymea/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://translate.nymea.io/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://translate.nymea.io/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://translate.nymea.io/hooks/bitbucket/ | Browse the documentation for detailed instructions |