Closed (won't fix)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Sep 2008 at 12:49 UTC
Updated:
8 Sep 2011 at 20:23 UTC
Comments
Comment #1
dan_aka_jack commentedSorry, I completely forgot about the Localization features built into Drupal. Of course, we should leverage the existing localization features. So, I would propose that the "spell checker language selection feature" should work something like this:
modules/fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.phpto set the spellchecker to use the user's languageAnd, of course, if we go down this route then the FCKeditor module will also have to declare that it likes to work with locales.module.
Incidentally, I've just started reading "Pro Drupal Development edition2" so whilst I'm not a very good Drupal coder yet, hopefully I will soon be able to build this functionality if no one else wants to. No promises though! And, of course, please do jump in and take a shot at building this functionality if you want to.
Comment #2
wwalc commentedOk, my first thoughts:
Ad 1) Admin should have the ability to specify which Aspell dictionaries are installed (if there's a chance to check it automatically and provide some initial value it would be a plus)
Ad 2) We don't need the locale.module (?)
Ad 3) We need to get user settings inside of spellchecker.php so we need probably something similar to what we have in filemanager.config.php (search for bootstrap.inc and call drupal_bootstrap())
"A database table for storing this information"
There is no need for another table. Languages available in spell checker could be stored inside of a Global Profile. User settings can be saved in a similar way like they're saved today, it's just another field to save.
I've opened a ticket about better spell checking support: http://dev.fckeditor.net/ticket/2548.
This is a part of the editor that will be probably redesigned in CKEditor 3.x
Comment #3
dan_aka_jack commentedMany thanks for the reply.
Just wondering why you'd prefer not to use locale.module (which is included in core with D6) for specifying the user's language? If I may, I'd like to suggest two reasons why using locale.module might be preferable:
I take the point that it's generally a good idea to keep the list of module dependencies as small as possible. However, most multi-lingual sites would almost certainly be using locale.module anyway.
Comment #4
dan_aka_jack commentedI've just read your "Support multiple languages in spell checker" ticket and I think it's a great idea. Before implementing this functionality in the drupal FCKeditor module, let's wait and see if the FCKeditor developers implement the functionality in FCKeditor itself.
Comment #5
Jorrit commentedPostponed to a later module version.
Comment #6
Jorrit commented