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 |
---|---|---|
Urban Biker | https://translate.urban-bike-computer.com/exports/rss/urban-biker/ | RSS |
Urban Biker/Store Description | https://translate.urban-bike-computer.com/exports/rss/urban-biker/store-description/ | RSS |
Urban Biker/Strings | https://translate.urban-bike-computer.com/exports/rss/urban-biker/strings/ | 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 |
---|---|---|
Urban Biker/Store Description | https://translate.urban-bike-computer.com/api/components/urban-biker/store-description/statistics/ | View |
Urban Biker/Strings | https://translate.urban-bike-computer.com/api/components/urban-biker/strings/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token IyInqPZtIkrXsL9tiiiQFTxzlxPyejERBpnRIGdG" \ https://translate.urban-bike-computer.com/api/components/urban-biker/store-description/translations/
Project | URL | Link |
---|---|---|
Urban Biker | https://translate.urban-bike-computer.com/api/projects/urban-biker/repository/ | Hook |
Urban Biker/Store Description | https://translate.urban-bike-computer.com/api/components/urban-biker/store-description/repository/ | Hook |
Urban Biker/Strings | https://translate.urban-bike-computer.com/api/components/urban-biker/strings/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token IyInqPZtIkrXsL9tiiiQFTxzlxPyejERBpnRIGdG" \ https://translate.urban-bike-computer.com/api/projects/urban-biker/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://translate.urban-bike-computer.com/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://translate.urban-bike-computer.com/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://translate.urban-bike-computer.com/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://translate.urban-bike-computer.com/hooks/pagure/ | Browse the documentation for detailed instructions |