Adding new dictionaries to aspell
How to add a new dictionary to aspell
- Download the dictionary from gnu.org
- Extract it from the tar file in a work directory
- Set Zimbra's aspell in the path with:
- PATH=/opt/zimbra/aspell-0.60.3/bin:$PATH
- Configure and install the dictionary according to the README
- ./configure
- make
- make install
- Edit the file /opt/zimbra/httpd/htdocs/aspell.php to reference the new dictionary. For example to add the french dictionary:
- $dictionary = pspell_new("en_EN");
- TO
- $dictionary = pspell_new("fr_FR");