Open maximeMD opened 2 years ago
Hi, internationalization works in v3, but I temporarirly dropped it from v4 because I can't understand how to implement it either. Unfortunately current Strapi documentation does not cover lot's of stuff. That's why I also disabled custom configuration.
The main stopper for internatialization is I can't understand how to do get current UI language from Strapi API. That's how it works in v3: https://github.com/Roslovets-Inc/strapi-plugin-ckeditor5/blob/531756d491e36a6bf61c134a7ae49ad7190e5a7c/admin/src/components/Wysiwyg/index.js#L28
FYI CKEditor build for this plugin already contains lots of i18n files: https://github.com/Roslovets-Inc/ckeditor5-build-strapi-wysiwyg/tree/gh-pages/build/translations
Hi, maybe this strapi plugin should help?
Hey ! First, thanks for you plugin 😄
I copied your code to make a local plugin for my app, because I neede to change the configuration file (which cannot be currently changed on Strapi v4), but also because I needed to have the CKEditor to be displayed in my language.
I successfully implemented the correct language, with a
import "@ckeditor/ckeditor5-build-classic/build/translations/fr";
in my customCKEditor/index.js
file.I would like to contribute on how to implement internationalization for this plugin, which could use the Strapi interface language, but I'm quite lost between all the different docs. All that I have understand is that it's not easy, because the translation file should be implement at build time...
Any hints on how to implement the feature ?