Hi,

On Sat, May 4, 2019 at 10:42 PM Maciek Olko <maciej.o...@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:
https://img.shields.io/badge/dynamic/json.svg?label=<whaterver>&query=$.<lang>&url=http://gce.zhsj.me/python/newest

[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

-- 
Regards,
Shengjing Zhu
_______________________________________________
Doc-SIG maillist  -  Doc-SIG@python.org
https://mail.python.org/mailman/listinfo/doc-sig

Reply via email to