Thursday, 22 August 2013

Set the default language for CKEditor and SCAYT

In order to set the DEFAULT language and spell checker in CKEditor when using SCATY (Spell check as you type) you need to add the following in your config values

CKEDITOR.editorConfig = function (config) {
   config.language = 'en-gb';
   config.wsc_lang = "en_GB";
   config.scayt_sLang = 'en_GB';
   config.scayt_autoStartup = true;



- the language is en DASH gb (all lower)
- the wsc_lang and scayt_sLang is en UNDERSCORE upper GB

1 comment: