Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 7 years ago

#8963 closed enhancement (invalid)

More languages in spellchecker

Reported by: Petter Owned by: azaozz
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: TinyMCE Keywords: spellchecker, language, tinymce
Focuses: Cc:


According to "wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js", only a few languages are supported:

// Find selected language
t.languages = {};
'hash'), function(v, k) {
	if (k.indexOf('+') === 0) {
		k = k.substring(1);
		t.selectedLang = v;

	t.languages[k] = v;

The list of languages above corresponds to my list in the rich-text-editor spellchecker button.
My web-server has additional languages installed for aspell (does WordPress use aspell?).
Aspell seems to support a few additional languages.

Change History (3)

#1 @DD32
13 years ago

By default, WordPress uses the Google Spell API.

You can modify the .php files in the spellchecker directory to enable different spellers, http://trac.wordpress.org/browser/trunk/wp-includes/js/tinymce/plugins/spellchecker/config.php

Looking at it, It supports GoogleSpell, PSpell(PHP Extension, OR command line) & EnchantSpell. Aspell is the same as PSpell, So you should be able to enable the extra speller via the config file. That however, Doesnt change the fact the languages are limited in the JS..

#2 @azaozz
13 years ago

  • Resolution set to invalid
  • Status changed from new to closed

There's a setting in TinyMCE and a filter in WordPress "mce_spellchecker_languages" to set which languages are displayed in the spellchecker button. The line you see in the plugin is the default. Of course the selected languages would also have to be supported by the back-end (GoogleSpell, PSpell, Aspell etc.).

#3 @DrewAPicture
7 years ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.