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 |
---|---|---|
FoodFactory | http://weblate.ucs.ru/exports/rss/foodfactory/ | RSS |
FoodFactory/auth | http://weblate.ucs.ru/exports/rss/foodfactory/auth/ | RSS |
FoodFactory/errors | http://weblate.ucs.ru/exports/rss/foodfactory/errors/ | RSS |
FoodFactory/fastreport_docs | http://weblate.ucs.ru/exports/rss/foodfactory/fastreport_docs/ | RSS |
FoodFactory/fastreport_stickers | http://weblate.ucs.ru/exports/rss/foodfactory/fastreport_stickers/ | RSS |
FoodFactory/FF common | http://weblate.ucs.ru/exports/rss/foodfactory/common/ | RSS |
FoodFactory/sh_error | http://weblate.ucs.ru/exports/rss/foodfactory/sh_error/ | 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 |
---|---|---|
FoodFactory/auth | http://weblate.ucs.ru/api/components/foodfactory/auth/statistics/ | View |
FoodFactory/errors | http://weblate.ucs.ru/api/components/foodfactory/errors/statistics/ | View |
FoodFactory/fastreport_docs | http://weblate.ucs.ru/api/components/foodfactory/fastreport_docs/statistics/ | View |
FoodFactory/fastreport_stickers | http://weblate.ucs.ru/api/components/foodfactory/fastreport_stickers/statistics/ | View |
FoodFactory/FF common | http://weblate.ucs.ru/api/components/foodfactory/common/statistics/ | View |
FoodFactory/sh_error | http://weblate.ucs.ru/api/components/foodfactory/sh_error/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ http://weblate.ucs.ru/api/components/foodfactory/auth/translations/
Project | URL | Link |
---|---|---|
FoodFactory | http://weblate.ucs.ru/api/projects/foodfactory/repository/ | Hook |
FoodFactory/auth | http://weblate.ucs.ru/api/components/foodfactory/auth/repository/ | Hook |
FoodFactory/errors | http://weblate.ucs.ru/api/components/foodfactory/errors/repository/ | Hook |
FoodFactory/fastreport_docs | http://weblate.ucs.ru/api/components/foodfactory/fastreport_docs/repository/ | Hook |
FoodFactory/fastreport_stickers | http://weblate.ucs.ru/api/components/foodfactory/fastreport_stickers/repository/ | Hook |
FoodFactory/FF common | http://weblate.ucs.ru/api/components/foodfactory/common/repository/ | Hook |
FoodFactory/sh_error | http://weblate.ucs.ru/api/components/foodfactory/sh_error/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ http://weblate.ucs.ru/api/projects/foodfactory/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://weblate.ucs.ru/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://weblate.ucs.ru/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://weblate.ucs.ru/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://weblate.ucs.ru/hooks/pagure/ | Browse the documentation for detailed instructions |