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 |
---|---|---|
YunoHost | https://translate.yunohost.org/exports/rss/yunohost/ | RSS |
YunoHost/admin | https://translate.yunohost.org/exports/rss/yunohost/admin/ | RSS |
YunoHost/core | https://translate.yunohost.org/exports/rss/yunohost/core/ | RSS |
YunoHost/moulinette | https://translate.yunohost.org/exports/rss/yunohost/moulinette/ | RSS |
YunoHost/SSOwat | https://translate.yunohost.org/exports/rss/yunohost/ssowat/ | 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 |
---|---|---|
YunoHost/admin | https://translate.yunohost.org/api/components/yunohost/admin/statistics/ | View |
YunoHost/core | https://translate.yunohost.org/api/components/yunohost/core/statistics/ | View |
YunoHost/moulinette | https://translate.yunohost.org/api/components/yunohost/moulinette/statistics/ | View |
YunoHost/SSOwat | https://translate.yunohost.org/api/components/yunohost/ssowat/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token 4G77T0TdmMGY0IiLy7f7HzyfVg7uHlbDjkH5EYx7" \ https://translate.yunohost.org/api/components/yunohost/admin/translations/
Project | URL | Link |
---|---|---|
YunoHost | https://translate.yunohost.org/api/projects/yunohost/repository/ | Hook |
YunoHost/admin | https://translate.yunohost.org/api/components/yunohost/admin/repository/ | Hook |
YunoHost/core | https://translate.yunohost.org/api/components/yunohost/core/repository/ | Hook |
YunoHost/moulinette | https://translate.yunohost.org/api/components/yunohost/moulinette/repository/ | Hook |
YunoHost/SSOwat | https://translate.yunohost.org/api/components/yunohost/ssowat/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token 4G77T0TdmMGY0IiLy7f7HzyfVg7uHlbDjkH5EYx7" \ https://translate.yunohost.org/api/projects/yunohost/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://translate.yunohost.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://translate.yunohost.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://translate.yunohost.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://translate.yunohost.org/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://translate.yunohost.org/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://translate.yunohost.org/hooks/gitea/ | Browse the documentation for detailed instructions |