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 |
|---|---|---|
| Crafthunt | https://translations.crafthunt.app/exports/rss/crafthunt/ | RSS |
| Crafthunt/Admin Panel | https://translations.crafthunt.app/exports/rss/crafthunt/admin-panel/ | RSS |
| Crafthunt/Backend | https://translations.crafthunt.app/exports/rss/crafthunt/backend/ | RSS |
| Crafthunt/Landing Page | https://translations.crafthunt.app/exports/rss/crafthunt/landing-page/ | RSS |
| Crafthunt/Mobile | https://translations.crafthunt.app/exports/rss/crafthunt/mobile/ | RSS |
| Crafthunt/Shared | https://translations.crafthunt.app/exports/rss/crafthunt/shared/ | RSS |
| Crafthunt/Crafthunt | https://translations.crafthunt.app/exports/rss/crafthunt/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 |
|---|---|---|
| Crafthunt/Admin Panel | https://translations.crafthunt.app/api/components/crafthunt/admin-panel/statistics/ | View |
| Crafthunt/Backend | https://translations.crafthunt.app/api/components/crafthunt/backend/statistics/ | View |
| Crafthunt/Landing Page | https://translations.crafthunt.app/api/components/crafthunt/landing-page/statistics/ | View |
| Crafthunt/Mobile | https://translations.crafthunt.app/api/components/crafthunt/mobile/statistics/ | View |
| Crafthunt/Shared | https://translations.crafthunt.app/api/components/crafthunt/shared/statistics/ | View |
| Crafthunt/Crafthunt | https://translations.crafthunt.app/api/components/crafthunt/glossary/statistics/ | View |
You can fetch statistics for all translations in one component like this:
curl \
-H "Authorization: Token wlu_iixEWiRAHUOlqvRSn26cZ8G1eKxNu8kgpHks" \
https://translations.crafthunt.app/api/components/crafthunt/admin-panel/translations/
| Project | URL | Link |
|---|---|---|
| Crafthunt | https://translations.crafthunt.app/api/projects/crafthunt/repository/ | Hook |
| Crafthunt/Admin Panel | https://translations.crafthunt.app/api/components/crafthunt/admin-panel/repository/ | Hook |
| Crafthunt/Backend | https://translations.crafthunt.app/api/components/crafthunt/backend/repository/ | Hook |
| Crafthunt/Landing Page | https://translations.crafthunt.app/api/components/crafthunt/landing-page/repository/ | Hook |
| Crafthunt/Mobile | https://translations.crafthunt.app/api/components/crafthunt/mobile/repository/ | Hook |
| Crafthunt/Shared | https://translations.crafthunt.app/api/components/crafthunt/shared/repository/ | Hook |
| Crafthunt/Crafthunt | https://translations.crafthunt.app/api/components/crafthunt/glossary/repository/ | Hook |
You pull changes from a remote repository to Weblate like this:
curl \
-d operation=pull \
-H "Authorization: Token wlu_iixEWiRAHUOlqvRSn26cZ8G1eKxNu8kgpHks" \
https://translations.crafthunt.app/api/projects/crafthunt/repository/
Weblate also supports direct notifications from several code hosting sites:
| Hosting site | URL | Note |
|---|---|---|
| GitHub | https://translations.crafthunt.app/hooks/github/ | The documentation has detailed instructions |
| GitLab | https://translations.crafthunt.app/hooks/gitlab/ | The documentation has detailed instructions |
| Bitbucket | https://translations.crafthunt.app/hooks/bitbucket/ | The documentation has detailed instructions |
| Pagure | https://translations.crafthunt.app/hooks/pagure/ | The documentation has detailed instructions |
| Azure Repos | https://translations.crafthunt.app/hooks/azure/ | The documentation has detailed instructions |
| Gitea | https://translations.crafthunt.app/hooks/gitea/ | The documentation has detailed instructions |