[BUGFIX] CKEditor: UI language should respect BE user language 47/51947/3
authorBenni Mack <benni@typo3.org>
Sat, 4 Mar 2017 06:49:16 +0000 (07:49 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 4 Mar 2017 19:17:52 +0000 (20:17 +0100)
commit982b3d4c55fbc8e777c2fb26f45ec5d88ac9f17d
tree3e3c028361c96716e0da4b594604ddf712872765
parent5fe52885b1c22c6086ddac07b3b39a4945f3b000
[BUGFIX] CKEditor: UI language should respect BE user language

If a backend user has selected a backend language,
CKEditor is not respecting this option, instead calculating
this based on the current browsers' language.

By default, CKeditor checks if the config option "language"
is set and if this is a valid language key, and translation is available
if not, it checks for the browser settings, if nothing matching found
it falls back to to the config option "defaultLanguage".

"defaultLanguage" should be set to "en", as the TYPO3 Backend
does as well.

The config option "language" should be calculated based on the
Backend Users' settings.

Resolves: #80133
Releases: master
Change-Id: I0f095ab7147871c2a4e8c8ea379754749bc1ba98
Reviewed-on: https://review.typo3.org/51947
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php
typo3/sysext/rte_ckeditor/Configuration/RTE/Editor/Base.yaml