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 Commission | http://weblate.ops404.it/exports/rss/ooops-commission/ | RSS |
Ooops Commission/ooops_commission_by_discount | http://weblate.ops404.it/exports/rss/ooops-commission/ooops_commission_by_discount/ | RSS |
Ooops Commission/ooops_commission_margin | http://weblate.ops404.it/exports/rss/ooops-commission/ooops_commission_margin/ | RSS |
Ooops Commission/ooops_sale_commission_manual | http://weblate.ops404.it/exports/rss/ooops-commission/ooops_sale_commission_manual/ | RSS |
Ooops Commission/ooops_sale_commission_ordered | http://weblate.ops404.it/exports/rss/ooops-commission/ooops_sale_commission_ordered/ | RSS |
Ooops Commission/ooops_sales_commission | http://weblate.ops404.it/exports/rss/ooops-commission/ooops_sales_commission/ | 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 Commission/ooops_commission_by_discount | http://weblate.ops404.it/api/components/ooops-commission/ooops_commission_by_discount/statistics/ | Vista |
Ooops Commission/ooops_commission_margin | http://weblate.ops404.it/api/components/ooops-commission/ooops_commission_margin/statistics/ | Vista |
Ooops Commission/ooops_sale_commission_manual | http://weblate.ops404.it/api/components/ooops-commission/ooops_sale_commission_manual/statistics/ | Vista |
Ooops Commission/ooops_sale_commission_ordered | http://weblate.ops404.it/api/components/ooops-commission/ooops_sale_commission_ordered/statistics/ | Vista |
Ooops Commission/ooops_sales_commission | http://weblate.ops404.it/api/components/ooops-commission/ooops_sales_commission/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-commission/ooops_commission_by_discount/translations/
Project | URL | Link |
---|---|---|
Ooops Commission | http://weblate.ops404.it/api/projects/ooops-commission/repository/ | Hook |
Ooops Commission/ooops_commission_by_discount | http://weblate.ops404.it/api/components/ooops-commission/ooops_commission_by_discount/repository/ | Hook |
Ooops Commission/ooops_commission_margin | http://weblate.ops404.it/api/components/ooops-commission/ooops_commission_margin/repository/ | Hook |
Ooops Commission/ooops_sale_commission_manual | http://weblate.ops404.it/api/components/ooops-commission/ooops_sale_commission_manual/repository/ | Hook |
Ooops Commission/ooops_sale_commission_ordered | http://weblate.ops404.it/api/components/ooops-commission/ooops_sale_commission_ordered/repository/ | Hook |
Ooops Commission/ooops_sales_commission | http://weblate.ops404.it/api/components/ooops-commission/ooops_sales_commission/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-commission/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 |