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