[wp-trac] [WordPress Trac] #11294: Spellchecker for custom language does not work

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 1 09:26:22 UTC 2009


#11294: Spellchecker for custom language does not work
--------------------------+-------------------------------------------------
 Reporter:  pavelevap     |       Owner:  azaozz      
     Type:  defect (bug)  |      Status:  new         
 Priority:  normal        |   Milestone:  2.9         
Component:  TinyMCE       |     Version:  2.9         
 Severity:  normal        |    Keywords:  spellchecker
--------------------------+-------------------------------------------------
 I tried to add Czech language as default TinyMCE spellchecker, but does
 not work for me (code inserted into functions.php):

 {{{
 add_filter( 'mce_spellchecker_languages', 'my_languages' );
 function my_languages($str) {

    // replace all
    $str = '+Czech=cz,English=en,German=de';

    return $str;
 }
 }}}

 In TinyMCE are shown defined languages, but when I select Czech (Čeština),
 it does not work and looks for english dictionary.

 So it is not possible to spellcheck in Czech for me (tested on 2.8.6 and
 2.9 trunk) and looks only for English words.

 You can test it for example with following sentence:

 Right: "Vytvořit nový příspěvek"

 Wrong to spellcheck: "Vytvořt nový příspěvk" (two characters missing).

 But no chance to spellcheck it in Czech, when you click on underlined
 words, only English words are suggested.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11294>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list