Improve i18n
- Jun 28, 2017
-
-
Bartouille authored
Language detection rely on internal call to known languages that are, obviously, not initialized at install Some minor fixes on deprecated constructors
3def8f33
-
- Jun 27, 2017
-
-
Bartouille authored
---------------- * Add support for plural and context * Add full support for language plurals * Add utilities function for easy use of each cases with sprintf syntax support * Legacy with old function calls, nothing broken Plural and context key naming are following the same patterns than those uses by I18next JS library : * See https://www.i18next.com/plurals.html for plural * https://www.i18next.com/context.html
b98e5b94 -
Bartouille authored37b5d9f2
-
Bartouille authored
i18n improvement : Add "Accept-Language" Header detection for selecting correct locale for translation
c21aa58f
-