You can retrieve various data from Weblate in machine readable format.
To follow translation progress you can use RSS feeds, detailing all important translation changes.
Project | URL | Link |
---|---|---|
Mission Supernova | https://translations.scummvm.org/exports/rss/mission-supernova/ | RSS |
Mission Supernova/Mission Supernova - Episode 1 | https://translations.scummvm.org/exports/rss/mission-supernova/msn/ | RSS |
Mission Supernova/Mission Supernova - Episode 2 | https://translations.scummvm.org/exports/rss/mission-supernova/ms2/ | RSS |
Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.
Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.
Project | URL | Link |
---|---|---|
Mission Supernova/Mission Supernova - Episode 1 | https://translations.scummvm.org/api/components/mission-supernova/msn/statistics/ | View |
Mission Supernova/Mission Supernova - Episode 2 | https://translations.scummvm.org/api/components/mission-supernova/ms2/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ https://translations.scummvm.org/api/components/mission-supernova/msn/translations/
Project | URL | Link |
---|---|---|
Mission Supernova | https://translations.scummvm.org/api/projects/mission-supernova/repository/ | Hook |
Mission Supernova/Mission Supernova - Episode 1 | https://translations.scummvm.org/api/components/mission-supernova/msn/repository/ | Hook |
Mission Supernova/Mission Supernova - Episode 2 | https://translations.scummvm.org/api/components/mission-supernova/ms2/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ https://translations.scummvm.org/api/projects/mission-supernova/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://translations.scummvm.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://translations.scummvm.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://translations.scummvm.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://translations.scummvm.org/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://translations.scummvm.org/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://translations.scummvm.org/hooks/gitea/ | Browse the documentation for detailed instructions |