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
UBports Docs https://translate.ubports.com/exports/rss/ubports-docs/ RSS
UBports Docs/Documentation: about https://translate.ubports.com/exports/rss/ubports-docs/documentation-about/ RSS
UBports Docs/Documentation: appdev https://translate.ubports.com/exports/rss/ubports-docs/documentation-appdev/ RSS
UBports Docs/Documentation: contribute https://translate.ubports.com/exports/rss/ubports-docs/documentation-contribute/ RSS
UBports Docs/Documentation: index https://translate.ubports.com/exports/rss/ubports-docs/documentation-index/ RSS
UBports Docs/Documentation: porting https://translate.ubports.com/exports/rss/ubports-docs/documentation-porting/ RSS
UBports Docs/Documentation: userguide https://translate.ubports.com/exports/rss/ubports-docs/documentation-userguide/ RSS
UBports Docs/ubports.com (Website) https://translate.ubports.com/exports/rss/ubports-docs/ubports-com/ 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
UBports Docs/Documentation: about https://translate.ubports.com/api/components/ubports-docs/documentation-about/statistics/ View
UBports Docs/Documentation: appdev https://translate.ubports.com/api/components/ubports-docs/documentation-appdev/statistics/ View
UBports Docs/Documentation: contribute https://translate.ubports.com/api/components/ubports-docs/documentation-contribute/statistics/ View
UBports Docs/Documentation: index https://translate.ubports.com/api/components/ubports-docs/documentation-index/statistics/ View
UBports Docs/Documentation: porting https://translate.ubports.com/api/components/ubports-docs/documentation-porting/statistics/ View
UBports Docs/Documentation: userguide https://translate.ubports.com/api/components/ubports-docs/documentation-userguide/statistics/ View
UBports Docs/ubports.com (Website) https://translate.ubports.com/api/components/ubports-docs/ubports-com/statistics/ View

For example getting stats for all translations in one component can be done by:

curl \
    -H "Authorization: Token TOKEN" \
    https://translate.ubports.com/api/components/ubports-docs/documentation-about/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
UBports Docs https://translate.ubports.com/api/projects/ubports-docs/repository/ Hook
UBports Docs/Documentation: about https://translate.ubports.com/api/components/ubports-docs/documentation-about/repository/ Hook
UBports Docs/Documentation: appdev https://translate.ubports.com/api/components/ubports-docs/documentation-appdev/repository/ Hook
UBports Docs/Documentation: contribute https://translate.ubports.com/api/components/ubports-docs/documentation-contribute/repository/ Hook
UBports Docs/Documentation: index https://translate.ubports.com/api/components/ubports-docs/documentation-index/repository/ Hook
UBports Docs/Documentation: porting https://translate.ubports.com/api/components/ubports-docs/documentation-porting/repository/ Hook
UBports Docs/Documentation: userguide https://translate.ubports.com/api/components/ubports-docs/documentation-userguide/repository/ Hook
UBports Docs/ubports.com (Website) https://translate.ubports.com/api/components/ubports-docs/ubports-com/repository/ Hook

For example telling Weblate to pull remote repository can be done by:

curl \
    -d operation=pull \
    -H "Authorization: Token TOKEN" \
    https://translate.ubports.com/api/projects/ubports-docs/repository/

Weblate also supports direct notification from several code hosting sites:

Hosting site URL Note
GitHub https://translate.ubports.com/hooks/github/ See documentation for detailed instructions
GitLab https://translate.ubports.com/hooks/gitlab/ See documentation for detailed instructions
Bitbucket https://translate.ubports.com/hooks/bitbucket/ See documentation for detailed instructions