Thanks for adding the pspell support. On the topic of spelling, I noticed
something that may need to be explained a little better in the docs or
config file.

If you use tinymce and use all default settings, you do not get your
configured roundcube language as your spell checker language. Instead
it defaults to english. There are two reasons for this.

First, the code checks for the presence of a tinymce language pack for the
RC language. If it doesnt exist, it defaults to the 'en.js' pack.

But even installing the right language pack isnt enough. Second, if you
dont set spellcheck_languages in main config manually, the code defaults
to english as the chosen spell check language. 

I think people may not realize they need to add tinymce language packs.
It may be an idea to add the language packs to the RC distribution, or else
make this clear in the main config. And maybe we can set the default in
main config for spellcheck_languages to the tinymce default:

$rcmail_config['spellcheck_languages'] = array('da'=>'Dansk', 'de'=>'Deutsch', 
'en' => 'English', 'es'=>'Espanol', 'fr'=>'Francais', it=>'Italiano', 
'nl'=>'Nederlands', 'pl'=>'Polski', 'pt'=>'Portugues', 'fi'=>'Suomi', 
'sv'=>'Svenska');

Setting spellcheck_languages will make sure the default language will
actually be used, else editor.js will pick english.

Cor
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to