I don’t know how many times have I tried to enable spell-checking in Spanish on the WordPress’ TinyMCE editor. Never got it working. Until today that I’ve found this post on the wp-polyglots list. By the way, the language you mark with “+” is the default one, so for Spanish-writing people I would recommend:
[code lang="javascript"]
var i, ar = tinyMCE.getParam('spellchecker_languages', '+Spanish=es,English=en').split(','), p;
[/code]
It’s easy… once you know where to hack. So, if the functionality is there, why not adding an option to easily add more languages to the spell-checker? If you have the spell-checker but can’t add more languages and you are not English-speaking, what’s its use? Or if you have to modify the code but nobody tells you where nor what to look for.


Comentarios