Aspell in Zarafa Webaccess

From Zarafa wiki

Revision as of 08:01, 3 July 2013 by Felix (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 /usr/share/zarafa-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 FCKEDITOR_SPELLCHECKER_LANGUAGE you can define the language for the spell check. For example when you set:

 define('FCKEDITOR_SPELLCHECKER_LANGUAGE', FALSE);

it will always perform the spell check with the language selected at login, but if you set :

 define('FCKEDITOR_SPELLCHECKER_LANGUAGE', 'de_DE');

Then he will do a German spell check regardless of your selected language upon login.

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