jashkenas/coffee-script — Issue #2109: Separate localization component to allow programming in foreign language
Author: billymoon
Created: 2012-02-06 22:54:29+00:00
State: open

I have a need to use a simple, easy to follow programming language to evaluate the ability of children in foreign countries before they have learned English to a good enough degree to program in.

I think coffee-script fits the bill, as most of what is written can be read almost like normal sentences in English. All the variable names can be written in a foreign language, and the symbols are universal, so allowing the reserved words and built in functions to be translated is the last hurdle.

I had a look at the source code, and could not find one location to edit all the command names to a new language. If the command names could be abstracted, then it would allow for translation into many languages.

Although I recognize that English language is pretty much a must for any programmer, due to most resources and forums being in English, it would be nice to have the possibility to translate to another language - and especially for my particular need.

It would also be good to be able to selectively translate additional javascript function names, by defining a list perhaps in JSON.

Thoughts on the usefulness of this task, and how to go about it welcome.