Adding new dictionaries to aspell: Difference between revisions
m (Corrected the preg_split change) |
(Updating this document to be accurate to Zimbra 8.7, and removing some old 4.X text which is no longer relevant.) |
||
(20 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
= | =Adding new dictionaries to aspell= | ||
<div class="col-md-12 ibox-content"> | |||
{{KB|{{Unsupported}}|{{ZCS 8.7}}||}} | |||
ZCS 8.7 comes with dictionaries preinstalled for many languages. ZCS versions 5.0 and earlier only have English installed. To see the list of installed languages, run | |||
/opt/zimbra/common/bin/aspell dump dicts | |||
If you do not see your language in the list, follow the instructions below. | |||
== How to add a new dictionary to aspell == | |||
* Download the dictionary for the language you want from [ftp://ftp.gnu.org/gnu/aspell/dict ftp.gnu.org/gnu/aspell/dict]. | |||
* Extract it from the tar file in a temporary directory. | |||
* Set PATH to the binary directory of Zimbra: | |||
PATH=/opt/zimbra/common/bin:$PATH | |||
* Configure and install the dictionary according to the README: | |||
./configure | |||
make | |||
make install | |||
* Verify the datadir and dictdir it must be '''/opt/zimbra/common/lib/aspell-0.60''' | |||
You must reload the spell-service: | |||
sudo -u zimbra /opt/zimbra/bin/zmspellctl reload | |||
{{Article_Footer|Zimbra Collaboration Suite 8.7|3/9/2017}} | |||
[[Category:Spell]] | |||
[[Category:Customizing ZCS]] |
Latest revision as of 13:05, 9 March 2017
Adding new dictionaries to aspell
ZCS 8.7 comes with dictionaries preinstalled for many languages. ZCS versions 5.0 and earlier only have English installed. To see the list of installed languages, run
/opt/zimbra/common/bin/aspell dump dicts
If you do not see your language in the list, follow the instructions below.
How to add a new dictionary to aspell
- Download the dictionary for the language you want from ftp.gnu.org/gnu/aspell/dict.
- Extract it from the tar file in a temporary directory.
- Set PATH to the binary directory of Zimbra:
PATH=/opt/zimbra/common/bin:$PATH
- Configure and install the dictionary according to the README:
./configure make make install
- Verify the datadir and dictdir it must be /opt/zimbra/common/lib/aspell-0.60
You must reload the spell-service:
sudo -u zimbra /opt/zimbra/bin/zmspellctl reload