Aupa Gotzon, ingelesez azalduko diat besteek ere uler dezaten.
I faced same situation, this is how I managed to install basque language in docker:
- Get docker image-name and get inside the image so you can edit it
docker exec -it container-name bash
- Once you are inside the image you can install via apt whatever you need, in my case basque language dictionary and nano editor. You can also install new fonts, you just need to install them.
apt update && apt hunspell-eu nano
- New dictionaries are installed in the following path ‘/usr/share/hunspell/’, we must copy this dictionaries to /opt/collaboraofficeXXXX/share/extensions/dict-eu/. Note that XXXX is the collabora/code version number you use and dict-eu is for basque, change eu with your language code
cp /usr/share/hunspell/eu* /opt/collaboraofficeXXXX/share/extensions/dict-eu/
I don’t know if this step is required but I did it and it worked for me. I realized that all other language folders had a file called dictionaries.xcu. Copy this file from another language, catalan for example, and edit it. Change every ca.aff and ca.dic with your language files and also edit locales for you language. For basque is enough eu locale, because there is only one dictionary for eu, eu_ES and eu_FR. If your language has more than one dictionary you can also add them in this file. Delete all lines you don’t need.
Once you have made all changes you must save the edited docker image as a new one, if not every time the images is restarted all changes will be deleted. Exit from the image with exit command and use the following command:
docker commit container-ID image-name
- Tell docker what languages you want to use
docker run -t -d -p 127.0.0.1:9980:9980 -e ‘domain=your\.domain\.com’ -e ‘dictionaries=eu eu_ES eu_FR fr_FR en_GB es_ES’ --restart always --cap-add MKNOD collabora/code