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 |
|---|---|---|
| payments-checkout | http://localhost/exports/rss/payments-checkout/ | RSS |
| payments-checkout/payment-checkout | http://localhost/exports/rss/payments-checkout/payment-checkout/ | RSS |
| payments-checkout/payment-checkout-fe | http://localhost/exports/rss/payments-checkout/payment-checkout-fe/ | RSS |
| payments-checkout/payments-checkout | http://localhost/exports/rss/payments-checkout/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 |
|---|---|---|
| payments-checkout/payment-checkout | http://localhost/api/components/payments-checkout/payment-checkout/statistics/ | View |
| payments-checkout/payment-checkout-fe | http://localhost/api/components/payments-checkout/payment-checkout-fe/statistics/ | View |
| payments-checkout/payments-checkout | http://localhost/api/components/payments-checkout/glossary/statistics/ | View |
You can fetch statistics for all translations in one component like this:
curl \
-H "Authorization: Token wlu_3ApG68aGodDvFJMDlFEoZrWDQI2JkQPlS5c7" \
http://localhost/api/components/payments-checkout/payment-checkout/translations/
| Project | URL | Link |
|---|---|---|
| payments-checkout | http://localhost/api/projects/payments-checkout/repository/ | Hook |
| payments-checkout/payment-checkout | http://localhost/api/components/payments-checkout/payment-checkout/repository/ | Hook |
| payments-checkout/payment-checkout-fe | http://localhost/api/components/payments-checkout/payment-checkout-fe/repository/ | Hook |
| payments-checkout/payments-checkout | http://localhost/api/components/payments-checkout/glossary/repository/ | Hook |
You pull changes from a remote repository to Weblate like this:
curl \
-d operation=pull \
-H "Authorization: Token wlu_3ApG68aGodDvFJMDlFEoZrWDQI2JkQPlS5c7" \
http://localhost/api/projects/payments-checkout/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | http://localhost/hooks/github/ | The documentation has detailed instructions |
| GitLab | http://localhost/hooks/gitlab/ | The documentation has detailed instructions |
| Bitbucket | http://localhost/hooks/bitbucket/ | The documentation has detailed instructions |
| Pagure | http://localhost/hooks/pagure/ | The documentation has detailed instructions |
| Azure Repos | http://localhost/hooks/azure/ | The documentation has detailed instructions |
| Gitea | http://localhost/hooks/gitea/ | The documentation has detailed instructions |