Update to CKEditor 4.5.7. http://ckeditor.com/blog/CKEditor-4.5.7-Released
4.5.6 & 4.5.7 bring minor bugfixes. Also, 4.5.7 brings a new translation for the first time: Swiss German, de-ch.
The addition of a language requires extra attention (see #2050097: Map CKEditor languages to Drupal languages).
- Wiktor Walc (from the CKEditor team) contacted me about this
- I replied:
-
Apparently we also have Swiss German, but using a very different langcode:
'gsw-berne' => array('Swiss German', 'Schwyzerdütsch'),We had a similar thing (in the issue you linked, even) with for example Norwegian being "nb" in Drupal and "no" in CKEditor (and pt-pt/pt, zh-hans/zh). We updated language.mappings.yml to account for that.
So, AFAICT we will only need to update language.mappings.yml at the same time as updating to CKE 4.5.7 (or prior to).
Adding Gábor (language system maintainer) and Sascha (Swiss German speaker and big contributor to the language system) to get their thoughts.
- @Berdir replied:
-
Hey
Funny.
Those two languages are actually something quite different, so that's fine.
de-ch is swiss "high german", we don't use some characters like ß and
we also sometimes use different words and so on. But it's still
"normal" german.gsw-berne on the other hand is one of the many swiss dialects. (It's
my dialect, so it's obviously the best one ;)). As far as I know, it
only exists in Drupal because there was a website about that dialect
that used Drupal, so they somehow managed to make it an official
default language. Nobody really uses that. We only write dialect in
short messages, facebook and so on (and didn't before those existed),
not for any sort of official communication.Conclusion of the history lesson, there's no need to map those
language codes together.Sascha
See also:
- #1858210: [meta] Content editing experience follow-ups — in-place editing and WYSIWYG
- #1950098: Update CKEditor library to 4.1
- #2036253: Update CKEditor library to 4.2
- #2039163: Update CKEditor library to 4.4
- #2271051: Update CKEditor library to 4.4.4
- #2345961: Update CKEditor library to 4.4.5
- #2384581: Security: Update CKEditor library to 4.4.6
- #2415111: Update CKEditor library to 4.4.7
- #2521820: Update CKEditor library to 4.5.3
- #2321583: Update CKEditor library to 4.5.5
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 2663566-11.patch | 2.04 MB | thpoul |
| #4 | 2663566-4.patch | 3.04 MB | thpoul |
Comments
Comment #2
wim leersComment #3
wim leersComment #4
thpoul commentedNeeds manual testing. Tagging accordingly.
Comment #5
wim leersThanks for rolling this patch! Will do the manual testing next, unless someone beats me to it :)
Comment #6
wim leersI just realized this probably should wait until after #1993928: Language of parts: Introduce a language toolbar button lands, since that's been RTBC for one month now: #1993928-167: Language of parts: Introduce a language toolbar button.
This patch is much easier to reroll than that one.
Comment #7
wim leers#1993928: Language of parts: Introduce a language toolbar button landed. Let's reroll this.
Comment #8
wim leersComment #9
thpoul commentedOn it
Comment #10
wim leersAwesome, thanks!
(Note this is not urgent, and is not bound by the 8.1 deadline.)
Comment #11
thpoul commentedManual testing is next! :) (the size diff between 4 and 11 is me being silly by not using the build.sh on 4)
Comment #12
wim leersPatch looks great, manual testing finds no problems.
Comment #14
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!