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
Solidar https://traduccio.somenergia.coop/exports/rss/solidar/ RSS
Solidar/ui https://traduccio.somenergia.coop/exports/rss/solidar/ui/ 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
Solidar/ui https://traduccio.somenergia.coop/api/components/solidar/ui/statistics/ View

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

curl \
    -H "Authorization: Token zRqN7fsVpxSTLw3inO94wYIyvUxVkXNOrnF7GGXW" \
    https://traduccio.somenergia.coop/api/components/solidar/ui/translations/
Project URL Link
Solidar https://traduccio.somenergia.coop/api/projects/solidar/repository/ Hook
Solidar/ui https://traduccio.somenergia.coop/api/components/solidar/ui/repository/ Hook

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

curl \
    -d operation=pull \
    -H "Authorization: Token zRqN7fsVpxSTLw3inO94wYIyvUxVkXNOrnF7GGXW" \
    https://traduccio.somenergia.coop/api/projects/solidar/repository/

Weblate also supports direct notifications from several code hosting sites:

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