Phrase to translate or params.
Values to print.
Translated parsed and substituted string.
Supports the advanced MessageFormat as provided by excellent messageformat module.
You should definetly head over to messageformat.github.io for a guide to MessageFormat.
i18n-for-browser
takes care of new MessageFormat('en').compile(msg);
with the current msg loaded from it's json files and cache that complied fn in memory.
So in short you might use it similar to __()
plus extra object to accomblish MessageFormat's formating.
Phrase to translate or params.
Values to print.
Translate.
Plurals translation of a single phrase.
Singular and plural forms will get added to locales if unknown.
Returns translated parsed and substituted string based on count
parameter.
Translate params.
Target count.
Values to print.
Translate.
Plurals translation of a single phrase.
Singular and plural forms will get added to locales if unknown.
Returns translated parsed and substituted string based on count
parameter.
Singular form to translate, or array of strings.
Target count.
Values to print.
Translate.
Plurals translation of a single phrase.
Singular and plural forms will get added to locales if unknown.
Returns translated parsed and substituted string based on count
parameter.
Singular form to translate.
Plural form to translate.
Target count.
Values to print.
Translate.
Generated using TypeDoc
Translates a single phrase and adds it to locales if unknown.