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
PhotoPrism https://translate.photoprism.app/exports/rss/photoprism/ RSS
PhotoPrism/Frontend https://translate.photoprism.app/exports/rss/photoprism/frontend/ RSS
PhotoPrism/Backend https://translate.photoprism.app/exports/rss/photoprism/backend/ 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
PhotoPrism/Frontend https://translate.photoprism.app/api/components/photoprism/frontend/statistics/ View
PhotoPrism/Backend https://translate.photoprism.app/api/components/photoprism/backend/statistics/ View

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

curl \
    -H "Authorization: Token wlu_u9PBqwVdhvT4LTdQF0UnEdprfun4MqMY3S1y" \
    https://translate.photoprism.app/api/components/photoprism/frontend/translations/
Project URL Link
PhotoPrism https://translate.photoprism.app/api/projects/photoprism/repository/ Hook
PhotoPrism/Frontend https://translate.photoprism.app/api/components/photoprism/frontend/repository/ Hook
PhotoPrism/Backend https://translate.photoprism.app/api/components/photoprism/backend/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token wlu_u9PBqwVdhvT4LTdQF0UnEdprfun4MqMY3S1y" \
    https://translate.photoprism.app/api/projects/photoprism/repository/

Weblate also supports direct notifications from several code hosting sites:

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