text
string
Convert an i18n text i18n:{id}
to string {id}
path
string
Convert an i18n path i18n:{id1}/i18n:{id2}
to string {id1}/{id2}
.
key
stringoption
object
Mapping an i18n id to translated text.
phrases
object
Extends the phrases.
phrases
object
Replaces the phrases.
phrases
object
Removes phrases.
Clear all phrases.
Get the polyglot instance.