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 |
---|---|---|
Oca PR 14.0 | http://weblate.ops404.it/exports/rss/oca-pr-14-0/ | RSS |
Oca PR 14.0/base_multi_company | http://weblate.ops404.it/exports/rss/oca-pr-14-0/base_multi_company/ | RSS |
Oca PR 14.0/database_cleanup | http://weblate.ops404.it/exports/rss/oca-pr-14-0/database_cleanup/ | RSS |
Oca PR 14.0/l10n_it_fatturapa_out | http://weblate.ops404.it/exports/rss/oca-pr-14-0/l10n_it_fatturapa_out/ | RSS |
Oca PR 14.0/l10n_it_fatturapa_pec | http://weblate.ops404.it/exports/rss/oca-pr-14-0/l10n_it_fatturapa_pec/ | RSS |
Oca PR 14.0/l10n_it_sdi_channel | http://weblate.ops404.it/exports/rss/oca-pr-14-0/l10n_it_sdi_channel/ | RSS |
Oca PR 14.0/partner_multi_company | http://weblate.ops404.it/exports/rss/oca-pr-14-0/partner_multi_company/ | 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 |
---|---|---|
Oca PR 14.0/base_multi_company | http://weblate.ops404.it/api/components/oca-pr-14-0/base_multi_company/statistics/ | Vista |
Oca PR 14.0/database_cleanup | http://weblate.ops404.it/api/components/oca-pr-14-0/database_cleanup/statistics/ | Vista |
Oca PR 14.0/l10n_it_fatturapa_out | http://weblate.ops404.it/api/components/oca-pr-14-0/l10n_it_fatturapa_out/statistics/ | Vista |
Oca PR 14.0/l10n_it_fatturapa_pec | http://weblate.ops404.it/api/components/oca-pr-14-0/l10n_it_fatturapa_pec/statistics/ | Vista |
Oca PR 14.0/l10n_it_sdi_channel | http://weblate.ops404.it/api/components/oca-pr-14-0/l10n_it_sdi_channel/statistics/ | Vista |
Oca PR 14.0/partner_multi_company | http://weblate.ops404.it/api/components/oca-pr-14-0/partner_multi_company/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/oca-pr-14-0/base_multi_company/translations/
Project | URL | Link |
---|---|---|
Oca PR 14.0 | http://weblate.ops404.it/api/projects/oca-pr-14-0/repository/ | Hook |
Oca PR 14.0/base_multi_company | http://weblate.ops404.it/api/components/oca-pr-14-0/base_multi_company/repository/ | Hook |
Oca PR 14.0/database_cleanup | http://weblate.ops404.it/api/components/oca-pr-14-0/database_cleanup/repository/ | Hook |
Oca PR 14.0/l10n_it_fatturapa_out | http://weblate.ops404.it/api/components/oca-pr-14-0/l10n_it_fatturapa_out/repository/ | Hook |
Oca PR 14.0/l10n_it_fatturapa_pec | http://weblate.ops404.it/api/components/oca-pr-14-0/l10n_it_fatturapa_pec/repository/ | Hook |
Oca PR 14.0/l10n_it_sdi_channel | http://weblate.ops404.it/api/components/oca-pr-14-0/l10n_it_sdi_channel/repository/ | Hook |
Oca PR 14.0/partner_multi_company | http://weblate.ops404.it/api/components/oca-pr-14-0/partner_multi_company/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/oca-pr-14-0/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 |