[Doc-SIG] Status for Transifex-based translations

Shengjing Zhu zsj950618 at gmail.com
Sat May 4 11:08:44 EDT 2019


On Sat, May 4, 2019 at 10:42 PM Maciek Olko <maciej.olko at gmail.com> wrote:
> Hello,
> I want to share with you a small script that displays translation status for language switcher for Transifex-based translations. The script is using Transifex API [1] and requires Transifex API token.
> https://github.com/m-aciek/python-docs-pl-status/blob/master/checkstatus.py
> It generates README.md file with status. Currently, for Polish translation it is 5.17%.

FWIW, I've set up a public service[1] 1 month ago, which proxies the
Transifex projects API[2](this API is different from what your used,
it calculates all resource by Transifex) with my own API key.

It's used to show dynamic badge on github repository for zh_CN translation[3].

Example usage:

[1] http://gce.zhsj.me/python/
[2] https://docs.transifex.com/api/projects
[3] https://raw.githubusercontent.com/python/python-docs-zh-cn/master/README.rst

Shengjing Zhu

More information about the Doc-SIG mailing list