Hello,
I’m using your CKEditor5 Forge component and trying to display the toolbar in French.
I have loaded the fr.js translation file and can confirm that window.CKEDITOR_TRANSLATIONS['fr'] is available, but the editor UI is still in English.
It seems that CKEditor needs language: 'fr' to be set during initialization, but since the component handles ClassicEditor.create(...) internally, I don’t see a way to configure it.
Is there a way to set the editor language or pass custom configuration?
Thanks in advance!
Hi @Pauline Geldreich ,
You need to edit the CKEditor component and add a new input parameter for Language.
Then update the script in the OnReady event of the CKEditor block so it includes the language configuration.
After that, just pass "fr" to the input parameter.
I also uploaded an updated version of the component with all the required changes.
Then update script used in the OnReady event of the CKEditor block to add the language configuration.
Result:
Hi @Mihai Melencu ,This is exactly what I needed, thank you very much !Your explanation was clear and helped me resolve the issue right away.I really appreciate your help.