lua-users home
lua-l archive

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


OpenWRT (luci) has i18n support, why not take a look?

-Dirk

在 2013-07-25四的 10:19 +0200,Marc Balmer写道:
> Lua'ers,
> 
> I am looking for a nice way to internationalize my Lua programs.
> Ideally something that follows the gettext model:  A program to extract
> message strings into a file (like xgettext), then a program to merge
> extracted string to an existing translation file (like msgmerge) and
> finally something to compile message files in an efficient format.
> 
> Actually wrapping libintl would be super easy, but it's the message
> extraction part that looks hard.
> 
> What do people use for message translation and internationalization?
> 
> Any hints welcome!
> 
> - Marc
>