Skip to content
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
@ram-you

Description

@ram-you

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions