Strangely enough, open source projects tend to actually have better translations, since they are more often than not done by developers and users of the software, who have far more context than the random translator with the lowest hourly rate that most companies go for.
Thanks for sharing this. I totally agree with you.
My idea was to make it possible to transpile between all the language variants and allow machine translation of variable names and comments. That way, after a new language variant were implemented, users (primarily teachers) could take any compatible code in any language they even remotely understood and translate it, then do just a bit of cleanup and be able to contribute it back and use it when teaching.
Then I'd build a repository of these small programs, each with a set teaching goal in mind, translated into as many language variants as possible.
But now this is starting to sound like months and months of work, and since I can't focus on a single side-project for even a few weeks, is unfortunately never getting done...
I'm consistently impressed by Microsoft's approach to translation - their online database of annotated translations - is an invaluable source for translating and just talking about computer/software stuff in non-english languages. ( https://www.microsoft.com/en-us/language they made their entire translation database available online).
I do some work on a compiler and as much as I'd like to enable people to use it to teach young schoolkids in their native language (with localizable keywords + error messages), the implementation/maintenance burden would be massive and then people wouldn't be able to share source code so easily globally.
It's hard to balance - I like languages, and usually my code isn't in English, but...yeah, I can only go so far in practice.