How to Change Spell Check Language in WordPress

Snippets by IsItWP

Are you looking for a way to change spell check language to a language other than English? While there’s probably a plugin for this, we have created a quick code snippet that you can use to change spell check language in WordPress.


All you have to do is add this code to your theme’s functions.php file or in a site-specific plugin:

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

Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly add code snippets in WordPress, so you don’t accidentally break your site.

If you liked this code snippet, please consider checking out our other articles on the site like: 7 best WordPress poll plugins to grow onsite engagement and how to set up download tracking in WordPress with Google Analytics.

Comments   Leave a Reply

  1. I wanted french but couldn’t find it.. I tried +French=fr in place of German but it came back with an error. any help on this? thanks

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

    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.

  3. 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!