mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
12 lines
180 B
Lua
12 lines
180 B
Lua
|
|
lua_gettext.init("./i18n", "koreader")
|
|
|
|
|
|
function _(string)
|
|
return lua_gettext.translate(string)
|
|
end
|
|
|
|
function gettextChangeLang(new_lang)
|
|
lua_gettext.change_lang(new_lang)
|
|
end
|