Home / functions.php / Change spell check language
  • How to Change spell check language


    By default wordpress spell check language is English you can change this with the following snippet or add additional languages. The following sample is English and German. Place this snippet within the functions.php of your wordpress theme.

    ( click code to copy )

    wordpress snippet : PHP

    function fb_mce_external_languages($initArray){
       $initArray['spellchecker_languages'] = '+German=de, English=en';
       return $initArray;
    add_filter('tiny_mce_before_init', 'fb_mce_external_languages');

    ( WordPress codex functions, hooks, in this snippet. )

    mce_external_languages, tiny_mce_before_init, init, add_filter, _e, _ex,