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 |
---|---|---|
SERA2 Config | https://weblate.topkodas.lt/exports/rss/sera-config/ | RSS |
SERA2 Config/DB Tables | https://weblate.topkodas.lt/exports/rss/sera-config/db-tables/ | RSS |
SERA2 Config/GT base | https://weblate.topkodas.lt/exports/rss/sera-config/progate/ | RSS |
SERA2 Config/Input/Zone Form | https://weblate.topkodas.lt/exports/rss/sera-config/inputzone-form/ | RSS |
SERA2 Config/Main window | https://weblate.topkodas.lt/exports/rss/sera-config/main/ | RSS |
SERA2 Config/Sensor Form | https://weblate.topkodas.lt/exports/rss/sera-config/sensor-form/ | RSS |
SERA2 Config/Settings Form | https://weblate.topkodas.lt/exports/rss/sera-config/settings-form/ | RSS |
SERA2 Config/Strings | https://weblate.topkodas.lt/exports/rss/sera-config/strings/ | 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 |
---|---|---|
SERA2 Config/DB Tables | https://weblate.topkodas.lt/api/components/sera-config/db-tables/statistics/ | View |
SERA2 Config/GT base | https://weblate.topkodas.lt/api/components/sera-config/progate/statistics/ | View |
SERA2 Config/Input/Zone Form | https://weblate.topkodas.lt/api/components/sera-config/inputzone-form/statistics/ | View |
SERA2 Config/Main window | https://weblate.topkodas.lt/api/components/sera-config/main/statistics/ | View |
SERA2 Config/Sensor Form | https://weblate.topkodas.lt/api/components/sera-config/sensor-form/statistics/ | View |
SERA2 Config/Settings Form | https://weblate.topkodas.lt/api/components/sera-config/settings-form/statistics/ | View |
SERA2 Config/Strings | https://weblate.topkodas.lt/api/components/sera-config/strings/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token 1KkTjBzZtYzOUNMZiGG4v68DgvgNTduX9Bc5LMgi" \ https://weblate.topkodas.lt/api/components/sera-config/db-tables/translations/
Project | URL | Link |
---|---|---|
SERA2 Config | https://weblate.topkodas.lt/api/projects/sera-config/repository/ | Hook |
SERA2 Config/DB Tables | https://weblate.topkodas.lt/api/components/sera-config/db-tables/repository/ | Hook |
SERA2 Config/GT base | https://weblate.topkodas.lt/api/components/sera-config/progate/repository/ | Hook |
SERA2 Config/Input/Zone Form | https://weblate.topkodas.lt/api/components/sera-config/inputzone-form/repository/ | Hook |
SERA2 Config/Main window | https://weblate.topkodas.lt/api/components/sera-config/main/repository/ | Hook |
SERA2 Config/Sensor Form | https://weblate.topkodas.lt/api/components/sera-config/sensor-form/repository/ | Hook |
SERA2 Config/Settings Form | https://weblate.topkodas.lt/api/components/sera-config/settings-form/repository/ | Hook |
SERA2 Config/Strings | https://weblate.topkodas.lt/api/components/sera-config/strings/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token 1KkTjBzZtYzOUNMZiGG4v68DgvgNTduX9Bc5LMgi" \ https://weblate.topkodas.lt/api/projects/sera-config/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://weblate.topkodas.lt/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://weblate.topkodas.lt/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://weblate.topkodas.lt/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://weblate.topkodas.lt/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | https://weblate.topkodas.lt/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | https://weblate.topkodas.lt/hooks/gitea/ | Browse the documentation for detailed instructions |