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 |
---|---|---|
PKP Web Application Library | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/ | RSS |
PKP Web Application Library/admin | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/admin/ | RSS |
PKP Web Application Library/api | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/api/ | RSS |
PKP Web Application Library/common | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/common/ | RSS |
PKP Web Application Library/default | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/default/ | RSS |
PKP Web Application Library/editor | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/editor/ | RSS |
PKP Web Application Library/generic-acron | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/generic-acron/ | RSS |
PKP Web Application Library/generic-usageEvent | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/generic-usageEvent/ | RSS |
PKP Web Application Library/grid | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/grid/ | RSS |
PKP Web Application Library/installer | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/installer/ | RSS |
PKP Web Application Library/manager | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/manager/ | RSS |
PKP Web Application Library/metadata-dc11 | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/metadata-dc11/ | RSS |
PKP Web Application Library/oaiMetadataFormats-dc | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/oaiMetadataFormats-dc/ | RSS |
PKP Web Application Library/reader | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/reader/ | RSS |
PKP Web Application Library/reviewer | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/reviewer/ | RSS |
PKP Web Application Library/submission | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/submission/ | RSS |
PKP Web Application Library/user | http://translate.pkp.sfu.ca/exports/rss/pkp-lib/user/ | 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 |
---|---|---|
PKP Web Application Library/admin | http://translate.pkp.sfu.ca/api/components/pkp-lib/admin/statistics/ | View |
PKP Web Application Library/api | http://translate.pkp.sfu.ca/api/components/pkp-lib/api/statistics/ | View |
PKP Web Application Library/common | http://translate.pkp.sfu.ca/api/components/pkp-lib/common/statistics/ | View |
PKP Web Application Library/default | http://translate.pkp.sfu.ca/api/components/pkp-lib/default/statistics/ | View |
PKP Web Application Library/editor | http://translate.pkp.sfu.ca/api/components/pkp-lib/editor/statistics/ | View |
PKP Web Application Library/generic-acron | http://translate.pkp.sfu.ca/api/components/pkp-lib/generic-acron/statistics/ | View |
PKP Web Application Library/generic-usageEvent | http://translate.pkp.sfu.ca/api/components/pkp-lib/generic-usageEvent/statistics/ | View |
PKP Web Application Library/grid | http://translate.pkp.sfu.ca/api/components/pkp-lib/grid/statistics/ | View |
PKP Web Application Library/installer | http://translate.pkp.sfu.ca/api/components/pkp-lib/installer/statistics/ | View |
PKP Web Application Library/manager | http://translate.pkp.sfu.ca/api/components/pkp-lib/manager/statistics/ | View |
PKP Web Application Library/metadata-dc11 | http://translate.pkp.sfu.ca/api/components/pkp-lib/metadata-dc11/statistics/ | View |
PKP Web Application Library/oaiMetadataFormats-dc | http://translate.pkp.sfu.ca/api/components/pkp-lib/oaiMetadataFormats-dc/statistics/ | View |
PKP Web Application Library/reader | http://translate.pkp.sfu.ca/api/components/pkp-lib/reader/statistics/ | View |
PKP Web Application Library/reviewer | http://translate.pkp.sfu.ca/api/components/pkp-lib/reviewer/statistics/ | View |
PKP Web Application Library/submission | http://translate.pkp.sfu.ca/api/components/pkp-lib/submission/statistics/ | View |
PKP Web Application Library/user | http://translate.pkp.sfu.ca/api/components/pkp-lib/user/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token LcNRUpLS9Rs8FNhj0ikh0lTk3phJNm1waqnS2irA" \ http://translate.pkp.sfu.ca/api/components/pkp-lib/admin/translations/
Project | URL | Link |
---|---|---|
PKP Web Application Library | http://translate.pkp.sfu.ca/api/projects/pkp-lib/repository/ | Hook |
PKP Web Application Library/admin | http://translate.pkp.sfu.ca/api/components/pkp-lib/admin/repository/ | Hook |
PKP Web Application Library/api | http://translate.pkp.sfu.ca/api/components/pkp-lib/api/repository/ | Hook |
PKP Web Application Library/common | http://translate.pkp.sfu.ca/api/components/pkp-lib/common/repository/ | Hook |
PKP Web Application Library/default | http://translate.pkp.sfu.ca/api/components/pkp-lib/default/repository/ | Hook |
PKP Web Application Library/editor | http://translate.pkp.sfu.ca/api/components/pkp-lib/editor/repository/ | Hook |
PKP Web Application Library/generic-acron | http://translate.pkp.sfu.ca/api/components/pkp-lib/generic-acron/repository/ | Hook |
PKP Web Application Library/generic-usageEvent | http://translate.pkp.sfu.ca/api/components/pkp-lib/generic-usageEvent/repository/ | Hook |
PKP Web Application Library/grid | http://translate.pkp.sfu.ca/api/components/pkp-lib/grid/repository/ | Hook |
PKP Web Application Library/installer | http://translate.pkp.sfu.ca/api/components/pkp-lib/installer/repository/ | Hook |
PKP Web Application Library/manager | http://translate.pkp.sfu.ca/api/components/pkp-lib/manager/repository/ | Hook |
PKP Web Application Library/metadata-dc11 | http://translate.pkp.sfu.ca/api/components/pkp-lib/metadata-dc11/repository/ | Hook |
PKP Web Application Library/oaiMetadataFormats-dc | http://translate.pkp.sfu.ca/api/components/pkp-lib/oaiMetadataFormats-dc/repository/ | Hook |
PKP Web Application Library/reader | http://translate.pkp.sfu.ca/api/components/pkp-lib/reader/repository/ | Hook |
PKP Web Application Library/reviewer | http://translate.pkp.sfu.ca/api/components/pkp-lib/reviewer/repository/ | Hook |
PKP Web Application Library/submission | http://translate.pkp.sfu.ca/api/components/pkp-lib/submission/repository/ | Hook |
PKP Web Application Library/user | http://translate.pkp.sfu.ca/api/components/pkp-lib/user/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token LcNRUpLS9Rs8FNhj0ikh0lTk3phJNm1waqnS2irA" \ http://translate.pkp.sfu.ca/api/projects/pkp-lib/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | http://translate.pkp.sfu.ca/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | http://translate.pkp.sfu.ca/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | http://translate.pkp.sfu.ca/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | http://translate.pkp.sfu.ca/hooks/pagure/ | Browse the documentation for detailed instructions |
Azure Repos | http://translate.pkp.sfu.ca/hooks/azure/ | Browse the documentation for detailed instructions |
Gitea | http://translate.pkp.sfu.ca/hooks/gitea/ | Browse the documentation for detailed instructions |