mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Merge #2799
2799: Fix roundcube's spellchecker r=mergify[bot] a=nextgens ## What type of PR? bug-fix ## What does this PR do? Without this only 'English' is offered. ### Related issue(s) - close #2798 ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
This commit is contained in:
commit
f2435f6964
20
docs/faq.rst
20
docs/faq.rst
@ -875,3 +875,23 @@ We have seen a fair amount of support requests related to the following:
|
||||
- `coredns has a bug`_ that we have now worked around
|
||||
|
||||
.. _`coredns has a bug`: https://github.com/coredns/coredns/issues/5189
|
||||
|
||||
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;
|
||||
```
|
||||
|
||||
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', ...);
|
||||
```
|
||||
|
||||
.. _`aspell dictionary`: http://ftp.gnu.org/gnu/aspell/dict/0index.html
|
||||
|
1
towncrier/newsfragments/2798.bugfix
Normal file
1
towncrier/newsfragments/2798.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Allow other supported languages in Roundcube's spellchecker
|
@ -13,6 +13,7 @@ $config['log_driver'] = 'stdout';
|
||||
$config['zipdownload_selection'] = true;
|
||||
$config['enable_spellcheck'] = true;
|
||||
$config['spellcheck_engine'] = 'pspell';
|
||||
$config['spellcheck_languages'] = array('en'=>'English (US)', 'en'=>'English (UK)', 'de'=>'Deutsch', 'fr'=>'French', 'ru'=>'Russian');
|
||||
$config['session_lifetime'] = {{ (((PERMANENT_SESSION_LIFETIME | default(10800)) | int)/3600) | int }};
|
||||
$config['request_path'] = '{{ WEB_WEBMAIL or "none" }}';
|
||||
$config['trusted_host_patterns'] = [ {{ HOSTNAMES.split(",") | map("tojson") | join(',') }}];
|
||||
|
Loading…
Reference in New Issue
Block a user