Aspell in Zarafa Webaccess

From Zarafa wiki

(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ynypokizek (talk) to last revision by Gertvdijk)
m (language identifier must be in apostrophes or a php warning will appear that constant is not defined)
Line 29: Line 29:
Example:
Example:
-
   define('FCKEDITOR_SPELLCHECKER_LANGUAGE', de_DE);
+
   define('FCKEDITOR_SPELLCHECKER_LANGUAGE', 'de_DE');
Install Aspell for you distribution (OS):
Install Aspell for you distribution (OS):

Revision as of 15:47, 28 June 2011

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