[Python-ideas] Non-English names in the turtle module (with Spanish example)

Stephen J. Turnbull stephen at xemacs.org
Thu Sep 17 03:36:37 CEST 2015

Al Sweigart writes:

 > I've created a prototype for how we could add foreign language
 > names to the turtle.py module and erase the language barrier for
 > non-English schoolkids.

I noticed that "ayudarme" ("help me") isn't implemented.  Whether
that's a barrier or not, I don't know.  I suspect it needs testing,
because I can imagine that kids might not use help if it were
available, preferring to ask the kid next to them.

The error messages aren't translated.  That definitely needs to be

 > This file can be easily adapted to support multiple programming
 > languages.

Maybe it's just me, but putting multiple languages in a single file
might be confusing to the user if you just add all the language
bindings to locals().  I really would like to see (but won't do it
myself) a structure where "tortuga" imports "turtle", defines some
variables which contain the dictionaries, and calls an "install
language" utility (new in turtle) that does what's necessary to hook
up the dictionaries to the turtle commands.

More information about the Python-ideas mailing list