Weblate 提供各种机器可读的数据格式。
RSS 订阅源
通过 RSS 订阅源跟踪翻译进度和所有重要的变化。
项目 | URL | 链接 |
---|---|---|
TelegrAd | http://translate.yuuu.es/exports/rss/telegrad/ | RSS |
TelegrAd/app | http://translate.yuuu.es/exports/rss/telegrad/app/ | RSS |
每种语言均有独立的 RSS 订阅源,您可以通过在上述 URL 末尾加上语言代码来构造取得。
统计
每个部件的 JSON 格式的翻译统计数据允许您在其他网站或工具中使用这些数据。
项目 | URL | 链接 |
---|---|---|
TelegrAd/app | http://translate.yuuu.es/api/components/telegrad/app/statistics/ | 查看 |
你可以像这样获取一个部件中所有翻译的统计信息:
curl \ -H "Authorization: Token wlu_YbYvhLDvXJHngHtOgmJVPHX4XFf8KoF5gEOg" \ http://translate.yuuu.es/api/components/telegrad/app/translations/
项目 | URL | 链接 |
---|---|---|
TelegrAd | http://translate.yuuu.es/api/projects/telegrad/repository/ | 钩子 |
TelegrAd/app | http://translate.yuuu.es/api/components/telegrad/app/repository/ | 钩子 |
你可以像这样从远程仓库拉取更改到 Weblate:
curl \ -d operation=pull \ -H "Authorization: Token wlu_YbYvhLDvXJHngHtOgmJVPHX4XFf8KoF5gEOg" \ http://translate.yuuu.es/api/projects/telegrad/repository/
Weblate 直接支持许多代码托管网站的通知信息:
托管网站 | URL | 备注 |
---|---|---|
GitHub | http://translate.yuuu.es/hooks/github/ | 文档中有详细的说明 |
GitLab | http://translate.yuuu.es/hooks/gitlab/ | 文档中有详细的说明 |
Bitbucket | http://translate.yuuu.es/hooks/bitbucket/ | 文档中有详细的说明 |
Pagure | http://translate.yuuu.es/hooks/pagure/ | 文档中有详细的说明 |
Azure Repos | http://translate.yuuu.es/hooks/azure/ | 文档中有详细的说明 |
Gitea | http://translate.yuuu.es/hooks/gitea/ | 文档中有详细的说明 |