Hello,
 I want to set the spell checker will default to German, but as language is
displayed American English  again


My Settings in the usr / lib / GNUstep / SOGo / Web Resources / ckeditor /
config.js:


CKEDITOR.editorConfig = function( config ) {
    // For the complete reference:
    // http://docs.ckeditor.com/#!/api/CKEDITOR.config
    config.toolbarGroups = [
        { name: 'basicstyles', groups: [ 'basicstyles' ] },
        { name: 'colors' },
        { name: 'paragraph', groups: [ 'list', 'indent', 'blocks',
'align' ] },
        { name: 'links' },
        { name: 'insert' },
        { name: 'editing', groups: [ 'spellchecker' ] },
        { name: 'styles' }
    ];

    config.removeButtons =
'Strike,Subscript,Superscript,BGColor,Anchor,Format';
    config.removeDialogTabs = 'link:advanced;image:advanced';
    config.enterMode = CKEDITOR.ENTER_BR;
    config.tabSpaces = 4;
    config.defaultLanguage = 'de';
    config.allowedContent = true; // don't filter tags

    // Disables the built-in words spell checker if browser provides one.
Defaults to true.
    //
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-disableNativeSpellChecker
    //config.disableNativeSpellChecker = false;

    // Whether to show the browser native context menu when the Ctrl or Meta
(Mac) key is pressed on opening the context
    // menu with the right mouse button click or the Menu key. Defaults to
true.
    //
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-browserContextMenuOnCtrl
    //config.browserContextMenuOnCtrl = false;

    // If enabled, turns on SCAYT automatically after loading the editor.
Defaults to false.
    // http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-scayt_autoStartup
    config.scayt_autoStartup = true;


config.language = 'de-de'; // Actually you don't have to set this but you
might as well
config.wsc_lang = 'de_DE'; // The default spell checker language
config.scayt_sLang = 'de_DE'; // The SCAYT spell checker language


};


Can you help me?

Thanks

Jan
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to