You can retrieve various data from Weblate in machine readable format.
RSS feeds
To follow translation progress you can use RSS feeds which include all important changes in translation. More information about exported RSS feeds is available in the documentation.
Project | URL | Link |
---|---|---|
TransforMap Viewer | https://weblate.transformap.co/exports/rss/transformap-viewer/ | RSS |
TransforMap Viewer/transformap-viewer-textsnipplets | https://weblate.transformap.co/exports/rss/transformap-viewer/transformap-viewer-textsnipplets/ | RSS |
There are also per language RSS feeds available, you can construct them by appending a language code to the above URLs.
Statistics
Translation statistics for every component in the JSON format allow you to use these data in other websites or tools. Format of the data is described in the documentation.
Project | URL | Link |
---|---|---|
TransforMap Viewer/transformap-viewer-textsnipplets | https://weblate.transformap.co/api/components/transformap-viewer/transformap-viewer-textsnipplets/statistics/ | View |
For example getting stats for all translations in one component can be done by:
curl \ -H "Authorization: Token TOKEN" \ https://weblate.transformap.co/api/components/transformap-viewer/transformap-viewer-textsnipplets/translations/
Notification hooks
With notification hooks, Weblate will automatically import changes done by your developers and will allow continuous translation. More information is available in the documentation.
Project | URL | Link |
---|---|---|
TransforMap Viewer | https://weblate.transformap.co/api/projects/transformap-viewer/repository/ | Hook |
TransforMap Viewer/transformap-viewer-textsnipplets | https://weblate.transformap.co/api/components/transformap-viewer/transformap-viewer-textsnipplets/repository/ | Hook |
For example telling Weblate to pull remote repository can be done by:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ https://weblate.transformap.co/api/projects/transformap-viewer/repository/
Weblate also supports direct notification from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://weblate.transformap.co/hooks/github/ | See documentation for detailed instructions |
GitLab | https://weblate.transformap.co/hooks/gitlab/ | See documentation for detailed instructions |
Bitbucket | https://weblate.transformap.co/hooks/bitbucket/ | See documentation for detailed instructions |