Various data from Weblate is available in machine-readable format.
RSS feeds
Follow the translation progress and all important changes from RSS feeds.
| Project | URL | Link |
|---|---|---|
| Player | http://localhost/exports/rss/player/ | RSS |
| Player/availability | http://localhost/exports/rss/player/availability/ | RSS |
| Player/common | http://localhost/exports/rss/player/common/ | RSS |
| Player/errors | http://localhost/exports/rss/player/errors/ | RSS |
| Player/livescores | http://localhost/exports/rss/player/livescores/ | RSS |
| Player/payments | http://localhost/exports/rss/player/payments/ | RSS |
| Player/playerHome | http://localhost/exports/rss/player/playerhome/ | RSS |
| Player/token | http://localhost/exports/rss/player/token/ | RSS |
| Player/Player | http://localhost/exports/rss/player/glossary/ | RSS |
Per language RSS feeds are also available. Construct them by appending a language code to the URLs above.
Statistics
Translation statistics for every component in JSON format lets you use the data in other websites or tools.
| Project | URL | Link |
|---|---|---|
| Player/availability | http://localhost/api/components/player/availability/statistics/ | View |
| Player/common | http://localhost/api/components/player/common/statistics/ | View |
| Player/errors | http://localhost/api/components/player/errors/statistics/ | View |
| Player/livescores | http://localhost/api/components/player/livescores/statistics/ | View |
| Player/payments | http://localhost/api/components/player/payments/statistics/ | View |
| Player/playerHome | http://localhost/api/components/player/playerhome/statistics/ | View |
| Player/token | http://localhost/api/components/player/token/statistics/ | View |
| Player/Player | http://localhost/api/components/player/glossary/statistics/ | View |
You can fetch statistics for all translations in one component like this:
curl \
-H "Authorization: Token wlu_qS3TaSgFyfVKnWAzXKlFnomcpSu4BEKkPQuS" \
http://localhost/api/components/player/availability/translations/
| Project | URL | Link |
|---|---|---|
| Player | http://localhost/api/projects/player/repository/ | Hook |
| Player/availability | http://localhost/api/components/player/availability/repository/ | Hook |
| Player/common | http://localhost/api/components/player/common/repository/ | Hook |
| Player/errors | http://localhost/api/components/player/errors/repository/ | Hook |
| Player/livescores | http://localhost/api/components/player/livescores/repository/ | Hook |
| Player/payments | http://localhost/api/components/player/payments/repository/ | Hook |
| Player/playerHome | http://localhost/api/components/player/playerhome/repository/ | Hook |
| Player/token | http://localhost/api/components/player/token/repository/ | Hook |
| Player/Player | http://localhost/api/components/player/glossary/repository/ | Hook |
You pull changes from a remote repository to Weblate like this:
curl \
-d operation=pull \
-H "Authorization: Token wlu_qS3TaSgFyfVKnWAzXKlFnomcpSu4BEKkPQuS" \
http://localhost/api/projects/player/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | http://localhost/hooks/github/ | The documentation has detailed instructions |
| GitLab | http://localhost/hooks/gitlab/ | The documentation has detailed instructions |
| Bitbucket | http://localhost/hooks/bitbucket/ | The documentation has detailed instructions |
| Pagure | http://localhost/hooks/pagure/ | The documentation has detailed instructions |
| Azure Repos | http://localhost/hooks/azure/ | The documentation has detailed instructions |
| Gitea | http://localhost/hooks/gitea/ | The documentation has detailed instructions |