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
ERP https://traduccio.somenergia.coop/exports/rss/erp/ RSS
ERP/som_gurb https://traduccio.somenergia.coop/exports/rss/erp/som_gurb/ RSS
ERP/som_polissa_condicions_generals https://traduccio.somenergia.coop/exports/rss/erp/som_polissa_condicions_generals/ RSS
ERP/ERP https://traduccio.somenergia.coop/exports/rss/erp/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
ERP/som_gurb https://traduccio.somenergia.coop/api/components/erp/som_gurb/statistics/ View
ERP/som_polissa_condicions_generals https://traduccio.somenergia.coop/api/components/erp/som_polissa_condicions_generals/statistics/ View
ERP/ERP https://traduccio.somenergia.coop/api/components/erp/glossary/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/erp/som_gurb/translations/
Project URL Link
ERP https://traduccio.somenergia.coop/api/projects/erp/repository/ Hook
ERP/som_gurb https://traduccio.somenergia.coop/api/components/erp/som_gurb/repository/ Hook
ERP/som_polissa_condicions_generals https://traduccio.somenergia.coop/api/components/erp/som_polissa_condicions_generals/repository/ Hook
ERP/ERP https://traduccio.somenergia.coop/api/components/erp/glossary/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/erp/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