Hello,
here is an early patch to add a spell checking feature to the moodle's HTML editor.
Current Features:
- Add's a button in the HTML editor toolbar that invoques a spell checking utility.
- Only one language
Future work (but I'm gonna need some help):
- Multiple languages ( as many as dictionaries installed on the server )
- Binding the dictionary language with the course language or user's language.
- Activate / deactivate the tool depending on the course and/or user profile.
Installation instructions.
- Download and Install the ASPELL application from the following addresses:
http://aspell.net/win32/ If you work with windows.
http://aspell.sourceforge.net If you prefer the UNIX version.
I use the version 5 (because is more stable and has more dictionaries available). - Download and Install the English dictionary.
- The file speller.zip contains a directory called "speller" that must be unzipped into the
moodle directory. - Edit the file speller/server-scripts/spellchecker.php and:
# Change the aspell_prog variable to point to the aspell.exe file
# in your system
# is VERY IMPORTANT that you leave the double cuotes insithe the simple ones
# like this $aspell_prog = '"c:\usr\Aspell\bin\aspell.exe"'; - Replace The File "weblib.php" in the "lib" directory. ( But make a backup first )
Now you only have to access to your moodle site and use the HTML editor to post something. You'll find a new button.
Good luck.
Marc