kikito / i18n.lua

A very complete i18n lib for Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

locale fallback

kikito opened this issue · comments

If a key does not exist, a fallback could be specified.

The ruby i18n gem fallbacks to the locale "parents" - if the locale is 'es_mx', for example, it will try to fallback to its 'parents' - 'es', on this case. I'm not sure that functionality is interesting enough, or whether we should use something a bit simpler - one fallback locale and that's it.