Project

General

Profile

Actions

Bug #103824

closed

RTE language_list

Added by Emile Blume 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Start date:
2024-05-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
ckeditor, language
Complexity:
easy
Is Regression:
Sprint Focus:

Description

In TYPO3 version 11 CKeditor version 4 uses language_list so editors can give a paragraph or line in a foreign language the correct output: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-language_list

Example:
config.language_list: ['de:German', 'fr:French', 'en:English', 'uk:Ukrain']

This function seems to have been migrated to: https://ckeditor.com/docs/ckeditor5/latest/features/language.html. The configuration is different from the latter and doesn't seem to work.

Example:
config.language.textPartLanguage:
- { title: 'German', languageCode: 'de'}
- { title: 'French', languageCode: 'fr'}
- { title: 'English', languageCode: 'en'}
- { title: 'Ukrain', languageCode: 'uk'}

According to CK Editor developer the above configuration should work. They claim the TextPartLanguage plugin is missing.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Story #101906: CKEditor5 missing pluginsUnder Review2023-01-12

Actions
Actions #1

Updated by Georg Ringer 5 months ago

maybe you wanna try https://github.com/Gugler-GmbH/ckeditor5-language/tree/main?

until core adds @ckeditor/ckeditor5-language

Actions #2

Updated by Emile Blume 4 months ago ยท Edited

@Georg Thanks but I find it very strange that I would have to use an additional extension (which I can't seem to get working) to make use of something that's a default option in CK Editor 5.

Actions #3

Updated by Georg Ringer 4 months ago

  • Status changed from New to Accepted

problem is that ckeditor5 split its features up in multiple plugins but currently not all have been provided within typo3

Actions #4

Updated by Gerrit Code Review 4 months ago

  • Status changed from Accepted 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/+/84653

Actions #5

Updated by Gerrit Code Review 4 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/+/84653

Actions #6

Updated by Georg Ringer 4 months ago

Actions #7

Updated by Georg Ringer 4 months ago

  • Status changed from Under Review to Closed

closed in favor of #101906 where this will be handled

Actions

Also available in: Atom PDF