Opened 5 years ago

Last modified 5 years ago

#2690 new defect

Ckeditor language is always english

Reported by: robin.glauser Owned by: comvation
Priority: normal Milestone:
Component: Wysiwyg Version: 5.0
Severity: annoyance Keywords:


The language of the ckeditor is always english even if we change the backend language to german or french.

All languages are in lib/ckeditor/lang, so we would only need to get the language in the core/Wysiwyg/ckeditor.config.js.php file and set it with

config.language = '<?php echo $lang; ?>';

Change History (1)

comment:1 Changed 5 years ago by robin.glauser

We could get the backend language in the correct format with

$lang = FWLanguage::getLanguageCodeById(\Env::get('init')->backendLangId);
Note: See TracTickets for help on using tickets.