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 |
---|---|---|
itch.io | https://weblate.itch.ovh/exports/rss/itchio/ | RSS |
itch.io/desktop app | https://weblate.itch.ovh/exports/rss/itchio/itch/ | RSS |
itch.io/documents | https://weblate.itch.ovh/exports/rss/itchio/documents/ | RSS |
itch.io/tags | https://weblate.itch.ovh/exports/rss/itchio/tags/ | RSS |
itch.io/website | https://weblate.itch.ovh/exports/rss/itchio/itchio/ | 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 |
---|---|---|
itch.io/desktop app | https://weblate.itch.ovh/api/components/itchio/itch/statistics/ | View |
itch.io/documents | https://weblate.itch.ovh/api/components/itchio/documents/statistics/ | View |
itch.io/tags | https://weblate.itch.ovh/api/components/itchio/tags/statistics/ | View |
itch.io/website | https://weblate.itch.ovh/api/components/itchio/itchio/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token qtVjt503xOlJ8sOdQbXlOmENsnCUvvgE7Z2VnWtB" \ https://weblate.itch.ovh/api/components/itchio/itch/translations/
Project | URL | Link |
---|---|---|
itch.io | https://weblate.itch.ovh/api/projects/itchio/repository/ | Hook |
itch.io/desktop app | https://weblate.itch.ovh/api/components/itchio/itch/repository/ | Hook |
itch.io/documents | https://weblate.itch.ovh/api/components/itchio/documents/repository/ | Hook |
itch.io/tags | https://weblate.itch.ovh/api/components/itchio/tags/repository/ | Hook |
itch.io/website | https://weblate.itch.ovh/api/components/itchio/itchio/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token qtVjt503xOlJ8sOdQbXlOmENsnCUvvgE7Z2VnWtB" \ https://weblate.itch.ovh/api/projects/itchio/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://weblate.itch.ovh/hooks/github | Browse the documentation for detailed instructions |
GitLab | https://weblate.itch.ovh/hooks/gitlab | Browse the documentation for detailed instructions |
Bitbucket | https://weblate.itch.ovh/hooks/bitbucket | Browse the documentation for detailed instructions |
Pagure | https://weblate.itch.ovh/hooks/pagure | Browse the documentation for detailed instructions |
Azure Repos | https://weblate.itch.ovh/hooks/azure | Browse the documentation for detailed instructions |
Gitea | https://weblate.itch.ovh/hooks/gitea | Browse the documentation for detailed instructions |