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 |
---|---|---|
Community | https://translate.getmonero.org/exports/rss/community/ | RSS |
Community/Monero Means Money (subtitles) | https://translate.getmonero.org/exports/rss/community/monero-means-money/ | RSS |
Community/Sound Money, Safe Mode (subtitles) | https://translate.getmonero.org/exports/rss/community/sound-money-safe-mode-subtitles/ | 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 |
---|---|---|
Community/Monero Means Money (subtitles) | https://translate.getmonero.org/api/components/community/monero-means-money/statistics/ | View |
Community/Sound Money, Safe Mode (subtitles) | https://translate.getmonero.org/api/components/community/sound-money-safe-mode-subtitles/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token kblJe5S6U5R6bGhK3bgKCizRWCz5xxHGZ0KsXRqd" \ https://translate.getmonero.org/api/components/community/monero-means-money/translations/
Project | URL | Link |
---|---|---|
Community | https://translate.getmonero.org/api/projects/community/repository/ | Hook |
Community/Monero Means Money (subtitles) | https://translate.getmonero.org/api/components/community/monero-means-money/repository/ | Hook |
Community/Sound Money, Safe Mode (subtitles) | https://translate.getmonero.org/api/components/community/sound-money-safe-mode-subtitles/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token kblJe5S6U5R6bGhK3bgKCizRWCz5xxHGZ0KsXRqd" \ https://translate.getmonero.org/api/projects/community/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://translate.getmonero.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://translate.getmonero.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://translate.getmonero.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://translate.getmonero.org/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://translate.getmonero.org/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://translate.getmonero.org/hooks/gitea/ | Browse the documentation for detailed instructions |