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
Photos https://l10n.elementary.io/exports/rss/photos/ RSS
Photos/Photos https://l10n.elementary.io/exports/rss/photos/photos/ RSS
Photos/Photos (Extra) https://l10n.elementary.io/exports/rss/photos/extra/ RSS
Photos/Photos Glossary https://l10n.elementary.io/exports/rss/photos/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
Photos/Photos https://l10n.elementary.io/api/components/photos/photos/statistics/ View
Photos/Photos (Extra) https://l10n.elementary.io/api/components/photos/extra/statistics/ View
Photos/Photos Glossary https://l10n.elementary.io/api/components/photos/glossary/statistics/ View

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

curl \
    -H "Authorization: Token TOKEN" \
    https://l10n.elementary.io/api/components/photos/photos/translations/
Project URL Link
Photos https://l10n.elementary.io/api/projects/photos/repository/ Hook
Photos/Photos https://l10n.elementary.io/api/components/photos/photos/repository/ Hook
Photos/Photos (Extra) https://l10n.elementary.io/api/components/photos/extra/repository/ Hook
Photos/Photos Glossary https://l10n.elementary.io/api/components/photos/glossary/repository/ Hook

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

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

Weblate also supports direct notifications from several code hosting sites:

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