Localisation icon indicating copy to clipboard operation
Localisation copied to clipboard

[Idea] Translation status on README.md

Open marcinkunert opened this issue 6 years ago • 3 comments

I've stumbled recently on a nice GitHub action which does changes to README.md. In this case it looks for a RSS feed of a blog and changes README.md with the recent posts.

The workflow: https://github.com/marketplace/actions/blog-post-workflow The workflow in action: https://www.youtube.com/watch?v=ECuqb5Tv9qI&t=427s

I've came up with an idea to post on README.md the current status of the translations. The action would be triggered by merging a PR / a commit to master branch and if there are any changes it would create a commit to README.md

marcinkunert avatar Oct 21 '20 08:10 marcinkunert

This would look nice indeed, but I think we could trigger it once a day (with the cron option) instead of at every PR, because when a new string is added, there are potentially several PRs on the first day.

One thing that concerns me about measuring the translation progress is that some of the strings will be equal between a given target language and English, and it wouldn't be part of the ignore list.

tupaschoal avatar Oct 21 '20 11:10 tupaschoal

An additional markup for suppressing the check would be nice. Something like a comment preceding the affected translation:

#SuppressWarnings: SAME
STR1666: April

marcinkunert avatar Oct 21 '20 11:10 marcinkunert

I was thinking that we can maybe just give a rough idea of whether the language is maintained or not by doing a gradient and coloring the background image

Languages maintained (but that have a lot of strings that are the same as the original because it really is the same) would still look green

tupaschoal avatar Oct 26 '20 23:10 tupaschoal