lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It is my intention, as a pet project, to do so.

On another note, I am new to the list, and relatively new to the language, but I am having a good time while practicing with it. Hello!

Diogo

2015-09-28 8:59 GMT-03:00 Philippe Lhoste <PhiLho@gmx.net>:
On 18/09/2015 14:30, Luiz Henrique de Figueiredo wrote:
Do you know if attempts to translate Lua keywords/functions in other languages has been done already ? Or do you think this can be done and how could it be done then ?

Translating keywords is quite simple: Just change luaX_tokens in llex.c
<http://www.lua.org/source/5.3/llex.c.html#luaX_tokens>, taking care to
preserve the order.

Translating functions names can be done directly in Lua.

Nevertheless, translating is a bad idea because you'll lose all the wisdom
and examples available in the web.

I fully agree. Visual Basic for Applications translations were a bad idea, as they fragmented the help available, and made seeking for help on the Net quite hard outside of the community of same language.

Beside, as you said, the number of words used by Lua is relatively small, so it shouldn't be too hard to memorize with their meaning. Beside, I guess your son will soon be exposed (if not already) to English, so it can be a good head start... :-)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --