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.
Thanks for pointing to your github repo and the install script.
I just used information from https://www.collaboraoffice.com/code/ for Ubuntu.
That’s why i ended up missing stuff.
But now following your script i installed:
collaboraoffice5.3-dict*
collaboraofficebasis5.3*
locales-all
hunspell-de-de hunspell-en-us hunspell-en-gb hunspell-fr hunspell-nl
I rather install the hunspell packages from repo so for me no manual copy of files is needed.
All issues fixed now, also the other issue with the dialog language
Perhaps the info on your main page can be expanded so that the extra packages and files form the script are installed, or a link to your script for reference.
I have the univention code docker vers. 3.3.0.3. In this version there are only GB english and USA english spellchecking.
How can I add additional dictionaries into docker?
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)
Best regards,
Stefan
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.