Aspell in Zarafa Webaccess

From Zarafa wiki

Revision as of 09:10, 24 November 2010 by Ddebyttere (Talk | contribs)
Jump to: navigation, search

Contents

Description

To a enable a spell checker in the webaccess, you can use Aspell. When you create a mail in the webaccess you see the style menu. When you activate the spell checker you will have an extra button for spell checking.

Solution

Install Aspell and edit the webaccess config.php to enable it for Zarafa webaccess.

Whats needed

Webaccess and Aspell

How to

Edit config.php (for example /var/www/webaccess/config.php - the document root of the webaccess) Search for Aspell:

 // Spellchecker, change here to enable
 define('FCKEDITOR_SPELLCHECKER_ENABLED', FALSE);
 define('FCKEDITOR_SPELLCHECKER_PATH', '/usr/bin/aspell');
 define('FCKEDITOR_SPELLCHECKER_LANGUAGE', FALSE); // set FALSE to use the language chosen by the user, but make sure that these languages are installed with aspell!


 define('FCKEDITOR_SPELLCHECKER_ENABLED', FALSE); 

change this to:

 define('FCKEDITOR_SPELLCHECKER_ENABLED', TRUE);

With:

 define('FCKEDITOR_SPELLCHECKER_LANGUAGE', FALSE);

you can set, login with Dutch language and have German spell checker.

Example:

 define('FCKEDITOR_SPELLCHECKER_LANGUAGE', de_DE);

Install Aspell for you distribution (OS):

 yum install aspell aspell-nl 

or

 apt-get install aspell aspell-de
  • aspell-nl is the language pack

So like:

 aspell-de
 aspell-es
 aspell-fr
 aspell-ro
 aspell-it
Personal tools