Project

General

Profile

Actions

Bug #100873

closed

Epic #99669: CKEditor5 Collection

CKEditor language files missing

Added by Torben Hansen 12 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2023-05-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #101401: Undefined array key "ui" in vendor/typo3/cms-rte-ckeditor/Classes/Form/Element/RichTextElement.phpResolved2023-07-20

Actions
Actions #1

Updated by Gerrit Code Review 12 months 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

Actions #2

Updated by Gerrit Code Review 12 months 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

Actions #3

Updated by Andreas Nedbal 12 months 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.

Actions #4

Updated by Oliver Hader 12 months ago

  • Target version set to next-patchlevel
Actions #5

Updated by Gerrit Code Review 12 months 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

Actions #6

Updated by Gerrit Code Review 12 months 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

Actions #7

Updated by Andreas Nedbal 10 months ago

Actions #8

Updated by Gerrit Code Review 10 months 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

Actions #9

Updated by Gerrit Code Review 10 months 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

Actions #10

Updated by Gerrit Code Review 10 months 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

Actions #11

Updated by Andreas Nedbal 10 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Georg Tiefenbrunn 10 months ago

  • Related to Bug #101401: Undefined array key "ui" in vendor/typo3/cms-rte-ckeditor/Classes/Form/Element/RichTextElement.php added
Actions #13

Updated by Benjamin Franzke 8 months ago

  • Parent task set to #99669
Actions

Also available in: Atom PDF