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