Various data from Weblate is available in machine-readable format.
RSS feeds
Follow the translation progress and all important changes from RSS feeds.
| Project | URL | Link |
|---|---|---|
| XVM | https://translate.modxvm.com/exports/rss/xvm/ | RSS |
| XVM/xvm-client | https://translate.modxvm.com/exports/rss/xvm/xvm-client/ | RSS |
| XVM/xvm-installer | https://translate.modxvm.com/exports/rss/xvm/xvm-installer/ | RSS |
| XVM/XVM | https://translate.modxvm.com/exports/rss/xvm/glossary/ | RSS |
Per language RSS feeds are also available. Construct them by appending a language code to the URLs above.
Statistics
Translation statistics for every component in JSON format lets you use the data in other websites or tools.
| Project | URL | Link |
|---|---|---|
| XVM/xvm-client | https://translate.modxvm.com/api/components/xvm/xvm-client/statistics/ | View |
| XVM/xvm-installer | https://translate.modxvm.com/api/components/xvm/xvm-installer/statistics/ | View |
| XVM/XVM | https://translate.modxvm.com/api/components/xvm/glossary/statistics/ | View |
You can fetch statistics for all translations in one component like this:
curl \
-H "Authorization: Token PXO7cHd78NAcZyOx7XsdF6wyQSDgcBbJtb5ZW0bC" \
https://translate.modxvm.com/api/components/xvm/xvm-client/translations/
| Project | URL | Link |
|---|---|---|
| XVM | https://translate.modxvm.com/api/projects/xvm/repository/ | Hook |
| XVM/xvm-client | https://translate.modxvm.com/api/components/xvm/xvm-client/repository/ | Hook |
| XVM/xvm-installer | https://translate.modxvm.com/api/components/xvm/xvm-installer/repository/ | Hook |
| XVM/XVM | https://translate.modxvm.com/api/components/xvm/glossary/repository/ | Hook |
You pull changes from a remote repository to Weblate like this:
curl \
-d operation=pull \
-H "Authorization: Token PXO7cHd78NAcZyOx7XsdF6wyQSDgcBbJtb5ZW0bC" \
https://translate.modxvm.com/api/projects/xvm/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | https://translate.modxvm.com/hooks/github/ | The documentation has detailed instructions |
| GitLab | https://translate.modxvm.com/hooks/gitlab/ | The documentation has detailed instructions |
| Bitbucket | https://translate.modxvm.com/hooks/bitbucket/ | The documentation has detailed instructions |
| Pagure | https://translate.modxvm.com/hooks/pagure/ | The documentation has detailed instructions |
| Azure Repos | https://translate.modxvm.com/hooks/azure/ | The documentation has detailed instructions |
| Gitea | https://translate.modxvm.com/hooks/gitea/ | The documentation has detailed instructions |