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