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 |
---|---|---|
INGInious | http://weblate.info.ucl.ac.be/exports/rss/inginious/ | RSS |
INGInious/Frontend | http://weblate.info.ucl.ac.be/exports/rss/inginious/frontend/ | RSS |
INGInious/MCQ agent | http://weblate.info.ucl.ac.be/exports/rss/inginious/mcq-agent/ | 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 |
---|---|---|
INGInious/Frontend | http://weblate.info.ucl.ac.be/api/components/inginious/frontend/statistics/ | View |
INGInious/MCQ agent | http://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token OXKpYIAeNrG4FTgonCOST2tzvjI11gPwmYeoo9V4" \ http://weblate.info.ucl.ac.be/api/components/inginious/frontend/translations/
Project | URL | Link |
---|---|---|
INGInious | http://weblate.info.ucl.ac.be/api/projects/inginious/repository/ | Hook |
INGInious/Frontend | http://weblate.info.ucl.ac.be/api/components/inginious/frontend/repository/ | Hook |
INGInious/MCQ agent | http://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token OXKpYIAeNrG4FTgonCOST2tzvjI11gPwmYeoo9V4" \ http://weblate.info.ucl.ac.be/api/projects/inginious/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://weblate.info.ucl.ac.be/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://weblate.info.ucl.ac.be/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://weblate.info.ucl.ac.be/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://weblate.info.ucl.ac.be/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | http://weblate.info.ucl.ac.be/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | http://weblate.info.ucl.ac.be/hooks/gitea/ | Browse the documentation for detailed instructions |