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 |
---|---|---|
desktop-file-translations | https://l10n.opensuse.org/exports/rss/desktop-file-translations/ | RSS |
desktop-file-translations/update-desktop-files-apps master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-apps-master/ | RSS |
desktop-file-translations/update-desktop-files-apps SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-apps-sle-15/ | RSS |
desktop-file-translations/update-desktop-files-conflicts master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-conflicts-master/ | RSS |
desktop-file-translations/update-desktop-files-conflicts SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-conflicts-sle-15/ | RSS |
desktop-file-translations/update-desktop-files-directories master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-directories-master/ | RSS |
desktop-file-translations/update-desktop-files-directories SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-directories-sle-15/ | RSS |
desktop-file-translations/update-desktop-files-kde master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-kde-master/ | RSS |
desktop-file-translations/update-desktop-files-kde-services master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-kde-services-master/ | RSS |
desktop-file-translations/update-desktop-files-kde-services SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-kde-services-sle-15/ | RSS |
desktop-file-translations/update-desktop-files-kde SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-kde-sle-15/ | RSS |
desktop-file-translations/update-desktop-files master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-master/ | RSS |
desktop-file-translations/update-desktop-files-mimelnk SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-mimelnk-sle-15/ | RSS |
desktop-file-translations/update-desktop-files-screensavers master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-screensavers-master/ | RSS |
desktop-file-translations/update-desktop-files-screensavers SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-screensavers-sle-15/ | RSS |
desktop-file-translations/update-desktop-files SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-sle-15/ | RSS |
desktop-file-translations/update-desktop-files-yast master | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-yast-master/ | RSS |
desktop-file-translations/update-desktop-files-yast SLE-15-GA | https://l10n.opensuse.org/exports/rss/desktop-file-translations/update-desktop-files-yast-sle-15/ | 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 |
---|---|---|
desktop-file-translations/update-desktop-files-apps master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-apps-master/statistics/ | View |
desktop-file-translations/update-desktop-files-apps SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-apps-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files-conflicts master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-conflicts-master/statistics/ | View |
desktop-file-translations/update-desktop-files-conflicts SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-conflicts-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files-directories master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-directories-master/statistics/ | View |
desktop-file-translations/update-desktop-files-directories SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-directories-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files-kde master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-master/statistics/ | View |
desktop-file-translations/update-desktop-files-kde-services master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-services-master/statistics/ | View |
desktop-file-translations/update-desktop-files-kde-services SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-services-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files-kde SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-master/statistics/ | View |
desktop-file-translations/update-desktop-files-mimelnk SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-mimelnk-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files-screensavers master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-screensavers-master/statistics/ | View |
desktop-file-translations/update-desktop-files-screensavers SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-screensavers-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-sle-15/statistics/ | View |
desktop-file-translations/update-desktop-files-yast master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-yast-master/statistics/ | View |
desktop-file-translations/update-desktop-files-yast SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-yast-sle-15/statistics/ | View |
As an example, fetching stats for all translations in one component can be done thusly:
curl \ -H "Authorization: Token L3M2xij1MftjdxVnl62wlt28DGzRNL7G5E7a5jEu" \ https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-apps-master/translations/
Project | URL | Link |
---|---|---|
desktop-file-translations | https://l10n.opensuse.org/api/projects/desktop-file-translations/repository/ | Hook |
desktop-file-translations/update-desktop-files-apps master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-apps-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-apps SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-apps-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files-conflicts master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-conflicts-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-conflicts SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-conflicts-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files-directories master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-directories-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-directories SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-directories-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files-kde master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-kde-services master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-services-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-kde-services SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-services-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files-kde SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-kde-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-mimelnk SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-mimelnk-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files-screensavers master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-screensavers-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-screensavers SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-screensavers-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-sle-15/repository/ | Hook |
desktop-file-translations/update-desktop-files-yast master | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-yast-master/repository/ | Hook |
desktop-file-translations/update-desktop-files-yast SLE-15-GA | https://l10n.opensuse.org/api/components/desktop-file-translations/update-desktop-files-yast-sle-15/repository/ | Hook |
As an example, telling Weblate to pull from a remote repository can be done thusly:
curl \ -d operation=pull \ -H "Authorization: Token L3M2xij1MftjdxVnl62wlt28DGzRNL7G5E7a5jEu" \ https://l10n.opensuse.org/api/projects/desktop-file-translations/repository/
Weblate also supports direct notifications from several code hosting sites:
Hosting site | URL | Note |
---|---|---|
GitHub | https://l10n.opensuse.org/hooks/github/ | Browse the documentation for detailed instructions |
GitLab | https://l10n.opensuse.org/hooks/gitlab/ | Browse the documentation for detailed instructions |
Bitbucket | https://l10n.opensuse.org/hooks/bitbucket/ | Browse the documentation for detailed instructions |
Pagure | https://l10n.opensuse.org/hooks/pagure/ | Browse the documentation for detailed instructions |