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