Adding new dictionaries to aspell

Revision as of 05:48, 23 February 2006 by MergeSpamAccountsIntoMe (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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");

Jump to: navigation, search