X

Change spell check language

Mobile preview and customization in CSS Hero

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.


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');

Comments  Leave a Reply

  1. Sorry by the ignorance but… where I’ve to add this code, which file?
    Thanks

    1. Hi Koji
      No need to be sorry, in fact I forgot to post where this snippet should be placed. To get the snippet to work just place it within the functions.php of your wordpress theme.

  2. Tweets that mention Wordpress Change spell check language – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com February 22, 2011 at 9:26 pm

    […] This post was mentioned on Twitter by Newsery 3, WPSNIPP. WPSNIPP said: #wordpress Change spell check language http://bit.ly/h3uB1m #blog please RT 🙂 […]

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!