This commit is contained in:
Florent Daigniere
2023-04-28 07:51:47 +02:00
parent 0dd93c16e5
commit 6be9ce8b65
2 changed files with 8 additions and 10 deletions

View File

@@ -881,17 +881,15 @@ How can I add more languages to roundcube's spellchecker?
If you are comfortable using an online spellchecker, the easiest is to configure the following via an override:
```
$config['spellcheck_engine'] = 'googie';
$config['spellcheck_ignore_caps'] = true;
$config['spellcheck_ignore_nums'] = true;
$config['spellcheck_dictionary'] = true;
```
.. code-block:: php
$config['spellcheck_engine'] = 'googie';
$config['spellcheck_ignore_caps'] = true;
$config['spellcheck_ignore_nums'] = true;
$config['spellcheck_dictionary'] = true;
If not, you can download the `aspell dictionary`_ you require and place it in ``/usr/share/aspell/`` and then enable it by tweaking the following in the configuration file:
```
$config['spellcheck_languages'] = array('en'=>'English', ...);
```
.. code-block:: php
$config['spellcheck_languages'] = array('en'=>'English', ...);
.. _`aspell dictionary`: http://ftp.gnu.org/gnu/aspell/dict/0index.html