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 |
---|---|---|
Sdw Results | http://translate.ocsprd.io/exports/rss/sdw-results/ | RSS |
Sdw Results/disciplines | http://translate.ocsprd.io/exports/rss/sdw-results/disciplines/ | RSS |
Sdw Results/events | http://translate.ocsprd.io/exports/rss/sdw-results/events/ | RSS |
Sdw Results/Sdw Results | http://translate.ocsprd.io/exports/rss/sdw-results/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 |
---|---|---|
Sdw Results/disciplines | http://translate.ocsprd.io/api/components/sdw-results/disciplines/statistics/ | View |
Sdw Results/events | http://translate.ocsprd.io/api/components/sdw-results/events/statistics/ | View |
Sdw Results/Sdw Results | http://translate.ocsprd.io/api/components/sdw-results/glossary/statistics/ | View |
You can fetch statistics for all translations in one component like this:
curl \
-H "Authorization: Token 6AHEIMzAhmFxz9gSod1jWBvPEWG8TXC2GrCFzVFF" \
http://translate.ocsprd.io/api/components/sdw-results/disciplines/translations/
Project | URL | Link |
---|---|---|
Sdw Results | http://translate.ocsprd.io/api/projects/sdw-results/repository/ | Hook |
Sdw Results/disciplines | http://translate.ocsprd.io/api/components/sdw-results/disciplines/repository/ | Hook |
Sdw Results/events | http://translate.ocsprd.io/api/components/sdw-results/events/repository/ | Hook |
Sdw Results/Sdw Results | http://translate.ocsprd.io/api/components/sdw-results/glossary/repository/ | Hook |
You pull changes from a remote repository to Weblate like this:
curl \
-d operation=pull \
-H "Authorization: Token 6AHEIMzAhmFxz9gSod1jWBvPEWG8TXC2GrCFzVFF" \
http://translate.ocsprd.io/api/projects/sdw-results/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://translate.ocsprd.io/hooks/github/ | The documentation has detailed instructions |
GitLab | http://translate.ocsprd.io/hooks/gitlab/ | The documentation has detailed instructions |
Bitbucket | http://translate.ocsprd.io/hooks/bitbucket/ | The documentation has detailed instructions |
Pagure | http://translate.ocsprd.io/hooks/pagure/ | The documentation has detailed instructions |
Azure Repos | http://translate.ocsprd.io/hooks/azure/ | The documentation has detailed instructions |
Gitea | http://translate.ocsprd.io/hooks/gitea/ | The documentation has detailed instructions |