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
LeafOS-Project https://translate.leafos.org/exports/rss/leafos-project/ RSS
LeafOS-Project/Launcher3 https://translate.leafos.org/exports/rss/leafos-project/launcher3/ RSS
LeafOS-Project/LeafBackgrounds https://translate.leafos.org/exports/rss/leafos-project/leafbackgrounds/ RSS
LeafOS-Project/Settings https://translate.leafos.org/exports/rss/leafos-project/settings/ RSS
LeafOS-Project/SystemUI https://translate.leafos.org/exports/rss/leafos-project/systemui/ 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
LeafOS-Project/Launcher3 https://translate.leafos.org/api/components/leafos-project/launcher3/statistics/ View
LeafOS-Project/LeafBackgrounds https://translate.leafos.org/api/components/leafos-project/leafbackgrounds/statistics/ View
LeafOS-Project/Settings https://translate.leafos.org/api/components/leafos-project/settings/statistics/ View
LeafOS-Project/SystemUI https://translate.leafos.org/api/components/leafos-project/systemui/statistics/ View

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

curl \
    -H "Authorization: Token wlu_5x3tCX3D5dBZ4KVXheOV3l1N6Xkehxa3IHGc" \
    https://translate.leafos.org/api/components/leafos-project/launcher3/translations/
Project URL Link
LeafOS-Project https://translate.leafos.org/api/projects/leafos-project/repository/ Hook
LeafOS-Project/Launcher3 https://translate.leafos.org/api/components/leafos-project/launcher3/repository/ Hook
LeafOS-Project/LeafBackgrounds https://translate.leafos.org/api/components/leafos-project/leafbackgrounds/repository/ Hook
LeafOS-Project/Settings https://translate.leafos.org/api/components/leafos-project/settings/repository/ Hook
LeafOS-Project/SystemUI https://translate.leafos.org/api/components/leafos-project/systemui/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token wlu_5x3tCX3D5dBZ4KVXheOV3l1N6Xkehxa3IHGc" \
    https://translate.leafos.org/api/projects/leafos-project/repository/

Weblate also supports direct notifications from several code hosting sites:

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