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 |
|---|---|---|
| Mapotempo Wordpress | http://translate.mapotempo.com/exports/rss/mapotempo-wordpress/ | RSS |
| Mapotempo Wordpress/Mapotempo Wordpress | http://translate.mapotempo.com/exports/rss/mapotempo-wordpress/mapotempo-wordpress/ | 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 |
|---|---|---|
| Mapotempo Wordpress/Mapotempo Wordpress | http://translate.mapotempo.com/api/components/mapotempo-wordpress/mapotempo-wordpress/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \
-H "Authorization: Token TOKEN" \
http://translate.mapotempo.com/api/components/mapotempo-wordpress/mapotempo-wordpress/translations/
| Project | URL | Link |
|---|---|---|
| Mapotempo Wordpress | http://translate.mapotempo.com/api/projects/mapotempo-wordpress/repository/ | Hook |
| Mapotempo Wordpress/Mapotempo Wordpress | http://translate.mapotempo.com/api/components/mapotempo-wordpress/mapotempo-wordpress/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://translate.mapotempo.com/api/projects/mapotempo-wordpress/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | http://translate.mapotempo.com/hooks/github/ | Browse the documentation for detailed instructions |
| GitLab | http://translate.mapotempo.com/hooks/gitlab/ | Browse the documentation for detailed instructions |
| Bitbucket | http://translate.mapotempo.com/hooks/bitbucket/ | Browse the documentation for detailed instructions |
| Pagure | http://translate.mapotempo.com/hooks/pagure/ | Browse the documentation for detailed instructions |
| Azure Repos | http://translate.mapotempo.com/hooks/azure/ | Browse the documentation for detailed instructions |
| Gitea | http://translate.mapotempo.com/hooks/gitea/ | Browse the documentation for detailed instructions |