Adding new dictionaries to aspell
Adding new dictionaries to aspell
ZCS 8.7 comes with dictionaries preinstalled for many languages. ZCS versions 5.0 and earlier only have English installed. To see the list of installed languages, run
/opt/zimbra/common/bin/aspell dump dicts
If you do not see your language in the list, follow the instructions below.
How to add a new dictionary to aspell
- Download the dictionary for the language you want from ftp.gnu.org/gnu/aspell/dict.
- Extract it from the tar file in a temporary directory.
- Set PATH to the binary directory of Zimbra:
PATH=/opt/zimbra/common/bin:$PATH
- Configure and install the dictionary according to the README:
./configure make make install
- Verify the datadir and dictdir it must be /opt/zimbra/common/lib/aspell-0.60
You must reload the spell-service:
sudo -u zimbra /opt/zimbra/bin/zmspellctl reload