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