You can retrieve various data from Weblate in machine readable format.
To follow translation progress you can use RSS feeds, detailing all important translation changes.
| Project | URL | Link |
|---|---|---|
| out-dated | https://weblate.sangha.email/exports/rss/out-dated/ | RSS |
| out-dated/aalendar | https://weblate.sangha.email/exports/rss/out-dated/alendar-frontend/ | RSS |
| out-dated/alendar-api | https://weblate.sangha.email/exports/rss/out-dated/alendar-api/ | RSS |
| out-dated/android-ci | https://weblate.sangha.email/exports/rss/out-dated/android-ci/ | RSS |
| out-dated/android-ci-array | https://weblate.sangha.email/exports/rss/out-dated/android-ci-array/ | RSS |
| out-dated/api-ci | https://weblate.sangha.email/exports/rss/out-dated/api-ci/ | RSS |
| out-dated/ios-ci | https://weblate.sangha.email/exports/rss/out-dated/ios-ci/ | RSS |
| out-dated/ios-ci-info | https://weblate.sangha.email/exports/rss/out-dated/ios-ci-info/ | RSS |
| out-dated/sangha-static | https://weblate.sangha.email/exports/rss/out-dated/sangha-static/ | RSS |
| out-dated/sangha-web-ci | https://weblate.sangha.email/exports/rss/out-dated/sangha-web-ci/ | RSS |
Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.
Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.
| Project | URL | Link |
|---|---|---|
| out-dated/aalendar | https://weblate.sangha.email/api/components/out-dated/alendar-frontend/statistics/ | View |
| out-dated/alendar-api | https://weblate.sangha.email/api/components/out-dated/alendar-api/statistics/ | View |
| out-dated/android-ci | https://weblate.sangha.email/api/components/out-dated/android-ci/statistics/ | View |
| out-dated/android-ci-array | https://weblate.sangha.email/api/components/out-dated/android-ci-array/statistics/ | View |
| out-dated/api-ci | https://weblate.sangha.email/api/components/out-dated/api-ci/statistics/ | View |
| out-dated/ios-ci | https://weblate.sangha.email/api/components/out-dated/ios-ci/statistics/ | View |
| out-dated/ios-ci-info | https://weblate.sangha.email/api/components/out-dated/ios-ci-info/statistics/ | View |
| out-dated/sangha-static | https://weblate.sangha.email/api/components/out-dated/sangha-static/statistics/ | View |
| out-dated/sangha-web-ci | https://weblate.sangha.email/api/components/out-dated/sangha-web-ci/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \
-H "Authorization: Token bt0cyzLvpNI0GfnW8m6wi04MDl23lgyGAL8M1g5n" \
https://weblate.sangha.email/api/components/out-dated/alendar-frontend/translations/
| Project | URL | Link |
|---|---|---|
| out-dated | https://weblate.sangha.email/api/projects/out-dated/repository/ | Hook |
| out-dated/aalendar | https://weblate.sangha.email/api/components/out-dated/alendar-frontend/repository/ | Hook |
| out-dated/alendar-api | https://weblate.sangha.email/api/components/out-dated/alendar-api/repository/ | Hook |
| out-dated/android-ci | https://weblate.sangha.email/api/components/out-dated/android-ci/repository/ | Hook |
| out-dated/android-ci-array | https://weblate.sangha.email/api/components/out-dated/android-ci-array/repository/ | Hook |
| out-dated/api-ci | https://weblate.sangha.email/api/components/out-dated/api-ci/repository/ | Hook |
| out-dated/ios-ci | https://weblate.sangha.email/api/components/out-dated/ios-ci/repository/ | Hook |
| out-dated/ios-ci-info | https://weblate.sangha.email/api/components/out-dated/ios-ci-info/repository/ | Hook |
| out-dated/sangha-static | https://weblate.sangha.email/api/components/out-dated/sangha-static/repository/ | Hook |
| out-dated/sangha-web-ci | https://weblate.sangha.email/api/components/out-dated/sangha-web-ci/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \
-d operation=pull \
-H "Authorization: Token bt0cyzLvpNI0GfnW8m6wi04MDl23lgyGAL8M1g5n" \
https://weblate.sangha.email/api/projects/out-dated/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | https://weblate.sangha.email/hooks/github/ | Browse the documentation for detailed instructions |
| GitLab | https://weblate.sangha.email/hooks/gitlab/ | Browse the documentation for detailed instructions |
| Bitbucket | https://weblate.sangha.email/hooks/bitbucket/ | Browse the documentation for detailed instructions |
| Pagure | https://weblate.sangha.email/hooks/pagure/ | Browse the documentation for detailed instructions |
| Azure Repos | https://weblate.sangha.email/hooks/azure/ | Browse the documentation for detailed instructions |
| Gitea | https://weblate.sangha.email/hooks/gitea/ | Browse the documentation for detailed instructions |