I figured out:
- Python is a great programming language.
- Many intelligent kids out there don’t know English, but still want to write code.
Does Python support a locale wrapper over its English syntax? Such that all keywords like import, print, etc. are translated into another human language. Consecutively, translating Python code back-and-forth from one human language to another. Reducing English to be just one of several locale-specific human languages. Kids can then write code in their language (given their IDE supports Unicode), which will boil down to same compiled code.
If not, where do I get started to include this feature in Python through an open source project?
Chinese Python already exists.
A problem with your idea is in libraries – a lot of Python’s appeal is in the fact that there’s a lot of libraries for it. And virtually all of them use English. Translating all of them is pretty much impossible.
Plus, you don’t need much English for Python – it’s just individual words like
import, andprint. They aren’t that hard to learn. After all, kids can easily remember words likelumosandwingardium leviosa, which aren’t in their native language either.It’s much more important to translate manuals and documentation.
Another bad problem with your idea is that if you teach programmers to write in their native language, the rest of the world won’t understand them. As for your question, I think the Chinese Python should have some info on how to translate Python. Look at their repository to see the changes.