Hello as WP1 suggested I'm moving the spell check thread here,
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.
About aspell:
About the C++ compilation: I use ASPELL on windows XP and I did install the binaty version wich you can dowloada here:
Latest Version: GNU Aspell-0.50.3 (win32)
Full installer (Released Dec 22, 2002)And the precompiled English dictionary is here
English | aspell-en-0.50-2-3.exe | 2.3 M | Kevin Atkinson |
(both links taken from http://aspell.net/win32)
If you work with linux or another unix OS:
Aspell is here: Latest Version: GNU Aspell 0.50.5 (Released Feb, 2004)
I've been reading the UNIX Installation instructions
(http://aspell.net/man-html/2_Getting.html#SECTION00350000000000000000)
and this C++ static variables business beats me. I'm sorry. Can anybody help?
Marc