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 |
---|---|---|
Tsujan | https://translate.lxqt-project.org/exports/rss/tsujan/ | RSS |
Tsujan/Arqiver | https://translate.lxqt-project.org/exports/rss/tsujan/arqiver/ | RSS |
Tsujan/FeatherNotes | https://translate.lxqt-project.org/exports/rss/tsujan/feathernotes/ | RSS |
Tsujan/FeatherPad | https://translate.lxqt-project.org/exports/rss/tsujan/featherpad/ | RSS |
Tsujan/Kvantum Manager | https://translate.lxqt-project.org/exports/rss/tsujan/kvantum-manager/ | RSS |
Tsujan/Kvantum Preview | https://translate.lxqt-project.org/exports/rss/tsujan/kvantum-preview/ | 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 |
---|---|---|
Tsujan/Arqiver | https://translate.lxqt-project.org/api/components/tsujan/arqiver/statistics/ | View |
Tsujan/FeatherNotes | https://translate.lxqt-project.org/api/components/tsujan/feathernotes/statistics/ | View |
Tsujan/FeatherPad | https://translate.lxqt-project.org/api/components/tsujan/featherpad/statistics/ | View |
Tsujan/Kvantum Manager | https://translate.lxqt-project.org/api/components/tsujan/kvantum-manager/statistics/ | View |
Tsujan/Kvantum Preview | https://translate.lxqt-project.org/api/components/tsujan/kvantum-preview/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token wv0cYXzGyIjroHKOkezlMdx7mwsXoh1QtimUa4tZ" \ https://translate.lxqt-project.org/api/components/tsujan/arqiver/translations/
Project | URL | Link |
---|---|---|
Tsujan | https://translate.lxqt-project.org/api/projects/tsujan/repository/ | Hook |
Tsujan/Arqiver | https://translate.lxqt-project.org/api/components/tsujan/arqiver/repository/ | Hook |
Tsujan/FeatherNotes | https://translate.lxqt-project.org/api/components/tsujan/feathernotes/repository/ | Hook |
Tsujan/FeatherPad | https://translate.lxqt-project.org/api/components/tsujan/featherpad/repository/ | Hook |
Tsujan/Kvantum Manager | https://translate.lxqt-project.org/api/components/tsujan/kvantum-manager/repository/ | Hook |
Tsujan/Kvantum Preview | https://translate.lxqt-project.org/api/components/tsujan/kvantum-preview/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token wv0cYXzGyIjroHKOkezlMdx7mwsXoh1QtimUa4tZ" \ https://translate.lxqt-project.org/api/projects/tsujan/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://translate.lxqt-project.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://translate.lxqt-project.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://translate.lxqt-project.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://translate.lxqt-project.org/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://translate.lxqt-project.org/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://translate.lxqt-project.org/hooks/gitea/ | Browse the documentation for detailed instructions |