LOKit Collabora Office loads dictionaries deom /usr/share/hunspell. You can install dictionary packages, or you can copy .dic and .aff files manually there. The file names should be proper language tags, otherwise the name might not be recognized.
By default only limited set of spelling dictionaries and thesauri are configured for CODE, mainly for performance reasons. The default set of languages is the following: de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru.
You can change this list with dictionaries environment variable, when you start docker, or you can change the config file /etc/loolwsd/loölwsd.conf.
Since I do not know how to modify the docker settings onmy univention code docker container I tried second method:
I went into my code docker container and tried to modify the loolwsd.conf, but there is no such file. There is only a loolwsd.xml
Ok, have to modify the loolwsd.xml but there is no editor (nano or vim) in my container.
Ist it possible to install it (apt-get is not working)
What would the syntax for that be? And is this an ordered list? I’d like documents to default to en_GB rather than de and I haven’t managed to make this happen yet. Setting the language using the occ command line / config/config.php file doesn’t appear to make a difference:
You can pass environment variable dictionaries to docker: docker run <...> -e "dictionaries=de_DE en_GB en_US es_ES fr_FR it" <...>
The list is unordered.
Currently you can’t do that easily. The ODF template files are from Nextcloud core, and they are German for historical reasons. Soon, there will be a better template management. But for now, you can change the language of the whole document from the CODE menu.