Editor.i18n
Methods
Editor.i18n.format (text)
- textstring
Convert an i18n text i18n:{id} to string {id}
Editor.i18n.formatPath (path)
- pathstring
Convert an i18n path i18n:{id1}/i18n:{id2} to string {id1}/{id2}.
Editor.i18n.t (key, option)
- keystring
- optionobject
Mapping an i18n id to translated text.
Editor.i18n.extend (phrases)
- phrasesobject
Extends the phrases.
Editor.i18n.replace (phrases)
- phrasesobject
Replaces the phrases.
Editor.i18n.unset (phrases)
- phrasesobject
Removes phrases.
Editor.i18n.clear ()
Clear all phrases.
Properties
Editor.i18n.polyglot
Get the polyglot instance.
