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
XnView MP https://translation.xnview.com/exports/rss/xnview-mp/ RSS
XnView MP/General https://translation.xnview.com/exports/rss/xnview-mp/general/ RSS
XnView MP/XnView MP https://translation.xnview.com/exports/rss/xnview-mp/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
XnView MP/General https://translation.xnview.com/api/components/xnview-mp/general/statistics/ View
XnView MP/XnView MP https://translation.xnview.com/api/components/xnview-mp/glossary/statistics/ View

You can fetch statistics for all translations in one component like this:

curl \
    -H "Authorization: Token wlu_xuO1nwPZRvpsJRc4cCZyrZEVhDqtRGHzON76" \
    https://translation.xnview.com/api/components/xnview-mp/general/translations/
Project URL Link
XnView MP https://translation.xnview.com/api/projects/xnview-mp/repository/ Hook
XnView MP/General https://translation.xnview.com/api/components/xnview-mp/general/repository/ Hook
XnView MP/XnView MP https://translation.xnview.com/api/components/xnview-mp/glossary/repository/ Hook

You pull changes from a remote repository to Weblate like this:

curl \
    -d operation=pull \
    -H "Authorization: Token wlu_xuO1nwPZRvpsJRc4cCZyrZEVhDqtRGHzON76" \
    https://translation.xnview.com/api/projects/xnview-mp/repository/

Weblate also supports direct notifications from several code hosting sites:

Hosting site URL Note
GitHub https://translation.xnview.com/hooks/github/ The documentation has detailed instructions
GitLab https://translation.xnview.com/hooks/gitlab/ The documentation has detailed instructions
Bitbucket https://translation.xnview.com/hooks/bitbucket/ The documentation has detailed instructions
Pagure https://translation.xnview.com/hooks/pagure/ The documentation has detailed instructions
Azure Repos https://translation.xnview.com/hooks/azure/ The documentation has detailed instructions
Gitea https://translation.xnview.com/hooks/gitea/ The documentation has detailed instructions