[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua in other spoken languages?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 18 Sep 2015 09:30:38 -0300
> 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.