Project

General

Profile

Actions

Bug #103824

open

RTE language_list

Added by Emile Blume 20 days ago. Updated 5 days ago.

Status:
New
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.

Actions #1

Updated by Georg Ringer 5 days ago

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

until core adds @ckeditor/ckeditor5-language

Actions

Also available in: Atom PDF