i18n.lua icon indicating copy to clipboard operation
i18n.lua copied to clipboard

A very complete i18n lib for Lua

Results 11 i18n.lua issues
Sort by recently updated
recently updated
newest added

Hi, I'm working in a project over love2d. I use i18n in this project, love2d is oriented to "sandboxes". I discovered multiple limitationes when run my project in windows. The...

If `count` is used in a message, but not passed as a variable, it should provide a meaningful default. I'm not really sure why you would want to implement a...

This allows an arbitrary-length of fallback chain for the user-requested locale, letting users provide multiple preferred languages instead of just one.

If the message isn't available and the fallback is used, it would otherwise use the plural function for the requested locale, not the fallbackLocale. This bug causes incorrect output, or...

Hi, this is my attempt to add support for #29 I've changed the way pluralisation works to support this. Whereas previously the code always used data.count to determine the pluralisation...

I am interested in adding support for lists of string to i18n.lua. The use case is for in game text where I want to randomly select strings with equivalent meanings...

This example code shows exactly what's wrong. ```lua i18n=require"i18n" strs = { ["setting.language"] = "Language Setting", ["setting.language.current"] = "Current Language: %{name}" -- notice this one } i18n.load({en=strs}) i18n.setLocale("en") print(i18n("setting.language")) --...

This library uses global state in several places. That needs to be removed.