Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a badge about % translated in the README #51

Closed
JulienPalard opened this issue Sep 26, 2017 · 3 comments
Closed

Add a badge about % translated in the README #51

JulienPalard opened this issue Sep 26, 2017 · 3 comments

Comments

@JulienPalard
Copy link
Member

c.f. transifex/transifex-old-core#319

@JulienPalard
Copy link
Member Author

Waiting for a badge (I don't want to implement it), we can measure it with:

python3 -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' $(msgcat **/*.po | msgattrib --translated | grep -c '^msgid') $(msgcat **/*.po | grep -c '^msgid')

@JulienPalard
Copy link
Member Author

Also:

$ make progress
27.2%

@JulienPalard
Copy link
Member Author

Manually updating the makefile once in a while will be enough.

christopheNan pushed a commit to christopheNan/python-docs-fr that referenced this issue May 18, 2023
Closes python#41

C'est ma première PR sur Gitea, j'ai donc essayé de décrire le nouveau process. N'hésitez pas à commenter…

Co-authored-by: Julien Palard <julien@palard.fr>
Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/51
Co-authored-by: Vincent Poulailleau <vpoulailleau@gmail.com>
Co-committed-by: Vincent Poulailleau <vpoulailleau@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant