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