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