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