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 |
---|---|---|
AppInventor | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/exports/rss/appinventor/ | RSS |
AppInventor/AI Blockly Messages | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/exports/rss/appinventor/ai-blockly-messages/ | RSS |
AppInventor/NoProjectDialog | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/exports/rss/appinventor/noprojectdialog/ | RSS |
AppInventor/OdeMessages | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/exports/rss/appinventor/odemessages/ | 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 |
---|---|---|
AppInventor/AI Blockly Messages | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/ai-blockly-messages/statistics/ | View |
AppInventor/NoProjectDialog | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/noprojectdialog/statistics/ | View |
AppInventor/OdeMessages | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/odemessages/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token Ck1W50X73uogK6y0AMunv95rD2UT7p3mLPx6jpk9" \ https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/ai-blockly-messages/translations/
Project | URL | Link |
---|---|---|
AppInventor | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/projects/appinventor/repository/ | Hook |
AppInventor/AI Blockly Messages | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/ai-blockly-messages/repository/ | Hook |
AppInventor/NoProjectDialog | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/noprojectdialog/repository/ | Hook |
AppInventor/OdeMessages | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/components/appinventor/odemessages/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token Ck1W50X73uogK6y0AMunv95rD2UT7p3mLPx6jpk9" \ https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/api/projects/appinventor/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://weblate-appinventor-mit-edu.ezproxy.canberra.edu.au/hooks/azure/ | Browse the documentation for detailed instructions |