
northernpenguin
User
Oct 22, 2009, 11:59 AM
Post #8 of 9
(2649 views)
Shortcut
|
Re: [Dave] tinyMCE Spellchecker - adding a new language
[In reply to]
|
Can't Post
|
|
Dave: wysiwyg.php has the foll entry:
tinyMCE.init({ mode : "exact", theme : "advanced", language: "{$SETTINGS['wysiwyg']['wysiwygLang']}", spellchecker_languages: "+{$SETTINGS['wysiwyg']['wysiwygLang']}={$SETTINGS['wysiwyg']['wysiwygLang']}", I replaced spellchecker_languages with:
spellchecker_languages: "+English=en,French=fr" It works great! However, you should note that this will work with the Google Spellchecker, not PSpell. With PSpell you get the foll error msg
Error response: <br /> <b>Warning</b>: pspell_new() [<a href='function.pspell-new'>function.pspell-new</a>]: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "fr". in <b>/home/xxxxx/public_html/cmsAdmin/3rdParty/tiny_mce/plugins/spellchecker /classes/PSpell.php</b> on line <b>60</b><br /> {"result":null,"id":null,"error":{"errstr":"No PSpell link found opened.","errfile":"","errline":null,"errcontext":"","level":"FATAL"}} Based on this error, I obviously need a French dictonary. However, I'm happy!! Thank you very much for your assistance! Ragi
-- northernpenguin Northern Penguin Technologies "Any sufficiently advanced technology is indistinguishable from magic." ........Arthur C. Clarke
|