You can retrieve various data from Weblate in machine readable format.
RSS feeds
To follow translation progress you can use RSS feeds, detailing all important translation changes.
Project | URL | Link |
---|---|---|
Hauk | https://traduki.varden.info/exports/rss/hauk/ | RSS |
Hauk/Android client | https://traduki.varden.info/exports/rss/hauk/android/ | RSS |
Hauk/PHP backend | https://traduki.varden.info/exports/rss/hauk/backend-php/ | RSS |
Hauk/Web frontend | https://traduki.varden.info/exports/rss/hauk/frontend/ | RSS |
Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.
Statistics
Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.
Project | URL | Link |
---|---|---|
Hauk/Android client | https://traduki.varden.info/api/components/hauk/android/statistics/ | View |
Hauk/PHP backend | https://traduki.varden.info/api/components/hauk/backend-php/statistics/ | View |
Hauk/Web frontend | https://traduki.varden.info/api/components/hauk/frontend/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token aye3Pt4VsUfuk1tEd4ZljTCxZbjd9EWQx8akvZNv" \ https://traduki.varden.info/api/components/hauk/android/translations/
Project | URL | Link |
---|---|---|
Hauk | https://traduki.varden.info/api/projects/hauk/repository/ | Hook |
Hauk/Android client | https://traduki.varden.info/api/components/hauk/android/repository/ | Hook |
Hauk/PHP backend | https://traduki.varden.info/api/components/hauk/backend-php/repository/ | Hook |
Hauk/Web frontend | https://traduki.varden.info/api/components/hauk/frontend/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token aye3Pt4VsUfuk1tEd4ZljTCxZbjd9EWQx8akvZNv" \ https://traduki.varden.info/api/projects/hauk/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://traduki.varden.info/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://traduki.varden.info/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://traduki.varden.info/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://traduki.varden.info/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://traduki.varden.info/hooks/azure/ | Browse the documentation for detailed instructions |