This repository was archived by the owner on Apr 6, 2020. It is now read-only.
This repository was archived by the owner on Apr 6, 2020. It is now read-only.
Dynamically change the language #22
Open
Description
Hi, can you help me please to dynamically change the language ?
onEditorLoad(instance) { this.tuiEditor = instance; },
then changed language by :
this.tuiEditor.i18n.setCode('fr_FR')
console.log( this.tuiEditor.i18n)
gives me this response:
I18n {__ob__: Observer}
_code: "fr_FR"
_langs: (...)
But the toolbar still in English (original)
Need to refresh or reload the component and I dont know how.
Thank you in advance.