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