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
Installer https://weblate.elementary.io/exports/rss/installer/ RSS
Installer/extra https://weblate.elementary.io/exports/rss/installer/extra/ RSS
Installer/Initial Setup https://weblate.elementary.io/exports/rss/installer/initial-setup/ RSS
Installer/Installer https://weblate.elementary.io/exports/rss/installer/installer/ 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
Installer/extra https://weblate.elementary.io/api/components/installer/extra/statistics/ View
Installer/Initial Setup https://weblate.elementary.io/api/components/installer/initial-setup/statistics/ View
Installer/Installer https://weblate.elementary.io/api/components/installer/installer/statistics/ View

As an example, fetching stats for all translations in one component can be done thusly:

curl \
    -H "Authorization: Token TOKEN" \
    https://weblate.elementary.io/api/components/installer/extra/translations/

Notification hooks

With notification hooks, Weblate will automatically import changes made by your developers, and allows continuous translation.

Project URL Link
Installer https://weblate.elementary.io/api/projects/installer/repository/ Hook
Installer/extra https://weblate.elementary.io/api/components/installer/extra/repository/ Hook
Installer/Initial Setup https://weblate.elementary.io/api/components/installer/initial-setup/repository/ Hook
Installer/Installer https://weblate.elementary.io/api/components/installer/installer/repository/ Hook

As an example, telling Weblate to pull from a remote repository can be done thusly:

curl \
    -d operation=pull \
    -H "Authorization: Token TOKEN" \
    https://weblate.elementary.io/api/projects/installer/repository/

Weblate also supports direct notifications from several code hosting sites:

Hosting site URL Note
GitHub https://weblate.elementary.io/hooks/github/ Browse the documentation for detailed instructions
GitLab https://weblate.elementary.io/hooks/gitlab/ Browse the documentation for detailed instructions
Bitbucket https://weblate.elementary.io/hooks/bitbucket/ Browse the documentation for detailed instructions