I would like to change the dictionary used by the spell checker from an American dictionary to an Australian one.
I found a dictionary (not sure how appropriate it is) at http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_AU.zip
What do I have to do?
Spell Checker
If you have an Australian english word list, you will have to use it to compile an aspell dictionary (we use aspell for spell checking). The aspell website has some info on how to do it: http://aspell.sourceforge.net/
We have created our own en_AU dictionary for aspell before, but the word list was from Macquarie and is commerical. From what I remember, tracking down the info took a bit of time, but once I found what I needed creating the dictionary was pretty easy.
After you have the dictionary, you need to edit a Matrix WYSIWYG file to use en_AU. If you get the dictionary going I’ll find the file and line number.
I believe the dictionary I have linked to above is in the correct format. More details are available here: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/README_en_AU.tx
Then you’ll need to put this into the directory with the other aspell dictionaries (cant remember where that is) and then modify the file MYSOURCE_ROOT/fudge/wysiwyg/plugins/spell_checker/spell_checker.php
There is a line that reads
$GLOBALS[‘dict’] = ‘en’;
Change it to
$GLOBALS[‘dict’] = ‘en_AU’;
Should be on or about line 87