lua-users home
lua-l archive

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


> 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.