You can retrieve various data from Weblate in machine readable format.
To follow translation progress you can use RSS feeds, detailing all important translation changes.
Project | URL | Link |
---|---|---|
Dragon Audit | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/ | RSS |
Dragon Audit/Game Description and Metadata | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/game-description-and-metadata/ | RSS |
Dragon Audit/Launch Trailer | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/launch-trailer/ | RSS |
Dragon Audit/Character Names | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/character-names/ | RSS |
Dragon Audit/In-Game Code Text | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/in-game-code-text/ | RSS |
Dragon Audit/In-Game JSON Text | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/in-game-json-text/ | RSS |
Dragon Audit/In-Game Runtime Text | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/in-game-runtime-text/ | RSS |
Dragon Audit/In-Game Story Text | http://Translate.ArchiveEntertainment.com/exports/rss/dragon-audit/in-game-story-text/ | RSS |
Per language RSS feeds are also available, you can construct them by appending a language code to the above URLs.
Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.
Project | URL | Link |
---|---|---|
Dragon Audit/Game Description and Metadata | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/game-description-and-metadata/statistics/ | View |
Dragon Audit/Launch Trailer | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/launch-trailer/statistics/ | View |
Dragon Audit/Character Names | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/character-names/statistics/ | View |
Dragon Audit/In-Game Code Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-code-text/statistics/ | View |
Dragon Audit/In-Game JSON Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-json-text/statistics/ | View |
Dragon Audit/In-Game Runtime Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-runtime-text/statistics/ | View |
Dragon Audit/In-Game Story Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-story-text/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token yifAKGJu8geG34NEKFXiSLsnhAlcBkrRNUuJuQ1z" \ http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/game-description-and-metadata/translations/
Project | URL | Link |
---|---|---|
Dragon Audit | http://Translate.ArchiveEntertainment.com/api/projects/dragon-audit/repository/ | Hook |
Dragon Audit/Game Description and Metadata | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/game-description-and-metadata/repository/ | Hook |
Dragon Audit/Launch Trailer | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/launch-trailer/repository/ | Hook |
Dragon Audit/Character Names | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/character-names/repository/ | Hook |
Dragon Audit/In-Game Code Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-code-text/repository/ | Hook |
Dragon Audit/In-Game JSON Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-json-text/repository/ | Hook |
Dragon Audit/In-Game Runtime Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-runtime-text/repository/ | Hook |
Dragon Audit/In-Game Story Text | http://Translate.ArchiveEntertainment.com/api/components/dragon-audit/in-game-story-text/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token yifAKGJu8geG34NEKFXiSLsnhAlcBkrRNUuJuQ1z" \ http://Translate.ArchiveEntertainment.com/api/projects/dragon-audit/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://Translate.ArchiveEntertainment.com/hooks/github | Browse the documentation for detailed instructions |
GitLab | http://Translate.ArchiveEntertainment.com/hooks/gitlab | Browse the documentation for detailed instructions |
Bitbucket | http://Translate.ArchiveEntertainment.com/hooks/bitbucket | Browse the documentation for detailed instructions |
Pagure | http://Translate.ArchiveEntertainment.com/hooks/pagure | Browse the documentation for detailed instructions |
Azure Repos | http://Translate.ArchiveEntertainment.com/hooks/azure | Browse the documentation for detailed instructions |
Gitea | http://Translate.ArchiveEntertainment.com/hooks/gitea | Browse the documentation for detailed instructions |