Bug #100873
closedEpic #99669: CKEditor5 Collection
CKEditor language files missing
100%
Description
It is not possible to change the language of CKEditor 5, because language files are missing.
According to the documentation https://ckeditor.com/docs/ckeditor5/latest/features/ui-language.html, languages can be added using a plugin for the webpack build process. Since we use rollup to build our CKEditor 5, it seems we have to add all required language files manually.
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79026
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79026
Updated by Andreas Nedbal over 1 year ago
Okay, so I made an initial patch for this, but the issue of the missing translation plugin is larger than I initially anticipated.
The translations for CKEditor are fragmented between all plugins, which means that the default translations delivered in the ckeditor5
NPM package are virtually useless. It's some color names and a few basic actions that aren't even visible in the backend, resulting in a still english interface, even with a German locale now being loaded and applied.
Basically means we'll have to write a Rollup plugin (to my knowledge none exists), otherwise we are completely out of luck getting all relevant locales into TYPO3. Sadly we can't even use the base functions delivered inside @ckeditor/ckeditor5-dev-translations
because all of them are tailored specifically for Webpack.
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79026
Updated by Gerrit Code Review over 1 year ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79026
Updated by Andreas Nedbal over 1 year ago
- Related to Epic #99669: CKEditor5 Collection added
Updated by Gerrit Code Review over 1 year ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79026
Updated by Gerrit Code Review over 1 year ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79026
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79777
Updated by Andreas Nedbal over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 44d9651901dda6275407181493eb7a7463ce1d8e.
Updated by Georg Tiefenbrunn over 1 year ago
- Related to Bug #101401: Undefined array key "ui" in vendor/typo3/cms-rte-ckeditor/Classes/Form/Element/RichTextElement.php added