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 |
---|---|---|
Ooops Apulia | http://weblate.ops404.it/exports/rss/ooops-apulia/ | RSS |
Ooops Apulia/ooops_delivery_zone_day | http://weblate.ops404.it/exports/rss/ooops-apulia/ooops_delivery_zone_day/ | 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 |
---|---|---|
Ooops Apulia/ooops_delivery_zone_day | http://weblate.ops404.it/api/components/ooops-apulia/ooops_delivery_zone_day/statistics/ | Vista |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token b2dWojUYGD7kMKdp5C4AOOpz4MfF7PZZiRA8H5o9" \ http://weblate.ops404.it/api/components/ooops-apulia/ooops_delivery_zone_day/translations/
Project | URL | Link |
---|---|---|
Ooops Apulia | http://weblate.ops404.it/api/projects/ooops-apulia/repository/ | Hook |
Ooops Apulia/ooops_delivery_zone_day | http://weblate.ops404.it/api/components/ooops-apulia/ooops_delivery_zone_day/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token b2dWojUYGD7kMKdp5C4AOOpz4MfF7PZZiRA8H5o9" \ http://weblate.ops404.it/api/projects/ooops-apulia/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://weblate.ops404.it/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://weblate.ops404.it/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://weblate.ops404.it/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://weblate.ops404.it/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | http://weblate.ops404.it/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | http://weblate.ops404.it/hooks/gitea/ | Browse the documentation for detailed instructions |