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 |
---|---|---|
yast-update | https://l10n.opensuse.org/exports/rss/yast-update/ | RSS |
yast-update/master | https://l10n.opensuse.org/exports/rss/yast-update/master/ | 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 |
---|---|---|
yast-update/master | https://l10n.opensuse.org/api/components/yast-update/master/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token L3M2xij1MftjdxVnl62wlt28DGzRNL7G5E7a5jEu" \ https://l10n.opensuse.org/api/components/yast-update/master/translations/
Project | URL | Link |
---|---|---|
yast-update | https://l10n.opensuse.org/api/projects/yast-update/repository/ | Hook |
yast-update/master | https://l10n.opensuse.org/api/components/yast-update/master/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token L3M2xij1MftjdxVnl62wlt28DGzRNL7G5E7a5jEu" \ https://l10n.opensuse.org/api/projects/yast-update/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://l10n.opensuse.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://l10n.opensuse.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://l10n.opensuse.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://l10n.opensuse.org/hooks/pagure/ | Browse the documentation for detailed instructions |