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 |
---|---|---|
Mobilizon | https://weblate.framasoft.org/exports/rss/mobilizon/ | RSS |
Mobilizon/Android App | https://weblate.framasoft.org/exports/rss/mobilizon/android-app/ | RSS |
Mobilizon/Android App Metadata | https://weblate.framasoft.org/exports/rss/mobilizon/android-app-metadata/ | RSS |
Mobilizon/Backend | https://weblate.framasoft.org/exports/rss/mobilizon/backend/ | RSS |
Mobilizon/Backend errors | https://weblate.framasoft.org/exports/rss/mobilizon/backend-errors/ | RSS |
Mobilizon/Frontend | https://weblate.framasoft.org/exports/rss/mobilizon/frontend/ | 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 |
---|---|---|
Mobilizon/Android App | https://weblate.framasoft.org/api/components/mobilizon/android-app/statistics/ | View |
Mobilizon/Android App Metadata | https://weblate.framasoft.org/api/components/mobilizon/android-app-metadata/statistics/ | View |
Mobilizon/Backend | https://weblate.framasoft.org/api/components/mobilizon/backend/statistics/ | View |
Mobilizon/Backend errors | https://weblate.framasoft.org/api/components/mobilizon/backend-errors/statistics/ | View |
Mobilizon/Frontend | https://weblate.framasoft.org/api/components/mobilizon/frontend/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token dz1cmtBfIHaB2iYNVQHswS5xIefs9PcuXDC3TXXS" \ https://weblate.framasoft.org/api/components/mobilizon/android-app/translations/
Project | URL | Link |
---|---|---|
Mobilizon | https://weblate.framasoft.org/api/projects/mobilizon/repository/ | Hook |
Mobilizon/Android App | https://weblate.framasoft.org/api/components/mobilizon/android-app/repository/ | Hook |
Mobilizon/Android App Metadata | https://weblate.framasoft.org/api/components/mobilizon/android-app-metadata/repository/ | Hook |
Mobilizon/Backend | https://weblate.framasoft.org/api/components/mobilizon/backend/repository/ | Hook |
Mobilizon/Backend errors | https://weblate.framasoft.org/api/components/mobilizon/backend-errors/repository/ | Hook |
Mobilizon/Frontend | https://weblate.framasoft.org/api/components/mobilizon/frontend/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token dz1cmtBfIHaB2iYNVQHswS5xIefs9PcuXDC3TXXS" \ https://weblate.framasoft.org/api/projects/mobilizon/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://weblate.framasoft.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://weblate.framasoft.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://weblate.framasoft.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://weblate.framasoft.org/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://weblate.framasoft.org/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://weblate.framasoft.org/hooks/gitea/ | Browse the documentation for detailed instructions |