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 |
---|---|---|
Vexera | https://i18n.vexera.io/exports/rss/vexera/ | RSS |
Vexera/Bot | https://i18n.vexera.io/exports/rss/vexera/bot/ | 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 |
---|---|---|
Vexera/Bot | https://i18n.vexera.io/api/components/vexera/bot/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ https://i18n.vexera.io/api/components/vexera/bot/translations/
Project | URL | Link |
---|---|---|
Vexera | https://i18n.vexera.io/api/projects/vexera/repository/ | Hook |
Vexera/Bot | https://i18n.vexera.io/api/components/vexera/bot/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" \ https://i18n.vexera.io/api/projects/vexera/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://i18n.vexera.io/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://i18n.vexera.io/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://i18n.vexera.io/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://i18n.vexera.io/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://i18n.vexera.io/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://i18n.vexera.io/hooks/gitea/ | Browse the documentation for detailed instructions |