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 |
---|---|---|
Memorial Archives | https://translate.memarc.info/exports/rss/memorial-archives/ | RSS |
Memorial Archives/Memorial Archives Website | https://translate.memarc.info/exports/rss/memorial-archives/memorial-archives-website/ | 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 |
---|---|---|
Memorial Archives/Memorial Archives Website | https://translate.memarc.info/api/components/memorial-archives/memorial-archives-website/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token SmnHOxvepdpVN3P8AUHwr5tY1L0ECFTPeanjCnSm" \ https://translate.memarc.info/api/components/memorial-archives/memorial-archives-website/translations/
Project | URL | Link |
---|---|---|
Memorial Archives | https://translate.memarc.info/api/projects/memorial-archives/repository/ | Hook |
Memorial Archives/Memorial Archives Website | https://translate.memarc.info/api/components/memorial-archives/memorial-archives-website/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token SmnHOxvepdpVN3P8AUHwr5tY1L0ECFTPeanjCnSm" \ https://translate.memarc.info/api/projects/memorial-archives/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://translate.memarc.info/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://translate.memarc.info/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://translate.memarc.info/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://translate.memarc.info/hooks/pagure/ | Browse the documentation for detailed instructions |