Re: international language support
- Posted by Kat <gertie at PELL.NET> Aug 15, 2001
- 429 views
On 12 Aug 2001, at 20:04, John McAdam wrote: > > I think that one thing that would help to popularize > euphoria would be international language support. > When I talk to people here about Euphoria - which > is pretty often - they are interested, but are put off > by the english. So would I be if I had to program in > german, say, or chinese or something. So I thought > that it might be a 'simple thing' to write a preprocessor > that would substitute the keywords, builtin commands, > and common library routines from one language to > another. A simple list something like: > > {{"end","fim"}, > {"include","incluir"}, > {"to","ate"}, > {"by","por"}, > {"exit","sair"}, > {"type","tipo"}, > {"constant","constante"}, > {"for","para"}, > {"while","enquanto"}} etc. > > This would allow a portuguese programmer to write > code in his native language. The preprocessor would > look for these words and substitute them for the english > equivalent then run the program. > The list could be an include file, that could be replaced > by any other language that you would care to. French > Russian, Arabic, Swahili, Malay. etc. > OK. The problem is the word 'simple'. Simple for some > but I'm not up to it. Does anybody else think this is a > good idea and does anybody want to tackle It? I've got > the translation/substitution list for Portuguese (one of the > top ten spoken languages in the world) if anybody would > like to try. > Or maybe its already been done and I just didn't find it, > in which case, inform me please. I had suggested this be done natively, if the include lang.ini was in the bin dir, Eu could read the program code in whatever language was in that ini file. Send me a list of the keywords you want translated. Kat