You can retrieve various data from Weblate in machine readable format.
RSS feeds
To follow translation progress you can use RSS feeds, detailing all important translation changes.
Project | URL | Link |
---|---|---|
Fallout | https://tra.bgforge.net/exports/rss/fallout/ | RSS |
Fallout/Dangerous Quest! | https://tra.bgforge.net/exports/rss/fallout/dangerous-quest/ | RSS |
Fallout/Fixt | https://tra.bgforge.net/exports/rss/fallout/fixt/ | RSS |
Fallout/FO2tweaks | https://tra.bgforge.net/exports/rss/fallout/fo2tweaks/ | RSS |
Fallout/Hero Appearance | https://tra.bgforge.net/exports/rss/fallout/hero-appearance/ | RSS |
Fallout/Party Orders | https://tra.bgforge.net/exports/rss/fallout/party-orders/ | RSS |
Fallout/Restoration Project | https://tra.bgforge.net/exports/rss/fallout/rp/ | RSS |
Fallout/Unofficial Patch | https://tra.bgforge.net/exports/rss/fallout/up/ | RSS |
Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.
Statistics
Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.
Project | URL | Link |
---|---|---|
Fallout/Dangerous Quest! | https://tra.bgforge.net/api/components/fallout/dangerous-quest/statistics/ | View |
Fallout/Fixt | https://tra.bgforge.net/api/components/fallout/fixt/statistics/ | View |
Fallout/FO2tweaks | https://tra.bgforge.net/api/components/fallout/fo2tweaks/statistics/ | View |
Fallout/Hero Appearance | https://tra.bgforge.net/api/components/fallout/hero-appearance/statistics/ | View |
Fallout/Party Orders | https://tra.bgforge.net/api/components/fallout/party-orders/statistics/ | View |
Fallout/Restoration Project | https://tra.bgforge.net/api/components/fallout/rp/statistics/ | View |
Fallout/Unofficial Patch | https://tra.bgforge.net/api/components/fallout/up/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token TOKEN" \ https://tra.bgforge.net/api/components/fallout/dangerous-quest/translations/
Notification hooks
With notification hooks, Weblate will automatically import changes made by your developers, and allows continuous translation.
Project | URL | Link |
---|---|---|
Fallout | https://tra.bgforge.net/api/projects/fallout/repository/ | Hook |
Fallout/Dangerous Quest! | https://tra.bgforge.net/api/components/fallout/dangerous-quest/repository/ | Hook |
Fallout/Fixt | https://tra.bgforge.net/api/components/fallout/fixt/repository/ | Hook |
Fallout/FO2tweaks | https://tra.bgforge.net/api/components/fallout/fo2tweaks/repository/ | Hook |
Fallout/Hero Appearance | https://tra.bgforge.net/api/components/fallout/hero-appearance/repository/ | Hook |
Fallout/Party Orders | https://tra.bgforge.net/api/components/fallout/party-orders/repository/ | Hook |
Fallout/Restoration Project | https://tra.bgforge.net/api/components/fallout/rp/repository/ | Hook |
Fallout/Unofficial Patch | https://tra.bgforge.net/api/components/fallout/up/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token TOKEN" \ https://tra.bgforge.net/api/projects/fallout/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://tra.bgforge.net/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://tra.bgforge.net/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://tra.bgforge.net/hooks/bitbucket/ | Browse the documentation for detailed instructions |