CollaboraOnline / Docker-CODE

Dockerfile and scripts to generate CODE Docker image
147 stars 67 forks source link

Czech spell-check #33

Closed lachmanfrantisek closed 6 years ago

lachmanfrantisek commented 6 years ago

Hi, thanks for the code container-image. Would it be possible to add also Czech spell-check?

Would it be hard to set this by some environment variable to be able to add new languages easily, without code changes?

Thanks in advance!

timar commented 6 years ago

It is possible. Use the dictionaries environment variable. See also: https://www.collaboraoffice.com/code/

lachmanfrantisek commented 6 years ago

@timar Thanks for the reply.

Good to know it is already implemented..;-) Just two notes:

set loaded
de_DE en_GB en_US fr_FR cs sk cs_CZ en_US fr_FR en_GB
de_DE en_GB en_US fr_FR cs_CZ sk cs_CZ en_US fr_FR en_GB
cs de_DE en_GB en_US fr_FR sk de_DE en_US fr_FR en_GB
aa cs de_DE en_GB en_US fr_FR sk bb cs_CZ de_DE en_US fr_FR sk_SK en_GB
de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru en_US fr_FR it_IT nl_NL pt_BR en_GB nl_BE pt_PT es_ES

--> It does not accept the first and the last one.

timar commented 6 years ago

@lachmanfrantisek Interesting, I could not reproduce this:

timar@linux-dell:~> docker run -t -i -p 127.0.0.1:9980:9980 -e "dictionaries=de_DE en_GB en_US fr_FR cs_CZ sk" collabora/code
Generating RSA private key, 2048 bit long modulus
..+++
........................................................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.............+++
.................................................................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 3.2.2 - ffc419a
Init vcl
preload: merged unordf ucpchelp1 msforms vbaobj pcr vbaswobj sw animcore hwp flash chartcore solver sc wpftcalc xof ucpcmis1 wpftdraw sd svgfilter evtatt ucpftp1 graphicfilter wpftimpress placeware sdfilt sm pdffilter PresentationMinimizer rptxml protocolhandler ucpdav1 wpftwriter msword lwpft writerfilter t602filter xmlfa basctl binaryurp uuresolver scd chartcontroller ldapbe2 dba sdbt dbu dbmm deploymentgui migrationoo2 migrationoo3 xsltfilter sdd embobj emboleobj log expwrap odfflatxml textfd storagefd xmlfd frm fwl fwm io textconversiondlgs smd mozbootstrap oox scfilt OGLTrans slideshow proxyfac cairocanvas vclcanvas canvasfactory mtfrenderer simplecanvas oglcanvas rptui rpt res dlgprov basprov stringresource dbaxml mork odbc sdbc2 calc dbase flat writer xsec_xmlsec reflection bootstrap introspection invocation invocadapt namingservice stocservices cmdmail syssh cached1 ucphier1 ucpimage ucppkg1 srtrs1 ucptdoc1 xsltdlg swd cui bib guesslang offacc scn scriptframe dbpool2 xmlsecurity analysis date pricing fps_office i18nsearch wizards.agenda.CallWizard wizards.fax.CallWizard wizards.letter.CallWizard wizards.web.CallWizard xsec_fw vbaevents PresenterScreen pdfimport abp dbp mysql  ucpext hyphen spell lnth mailmerge for ctl passwordcontainer svgio updatefeed 
Preloading dictionaries: Whitelisted languages: de_DE en_GB en_US fr_FR cs_CZ sk 
cs_CZ de_DE en_US fr_FR sk_SK en_GB 
Preloading thesauri: cs_CZ de_DE en_US fr_FR sk_SK en_GB 
Preload icons
Preload languages
office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.3", "ProductExtension": ".10.46", "BuildId": "676bba734638174e4b6e81dac8453c8345f3e2e1" }
wsd-00028-00029 09:23:41.532380 [ prisoner_poll ] WRN  ForKit not responsive for 5307 ms forking 1 children. Resetting.| wsd/LOOLWSD.cpp:371
lachmanfrantisek commented 6 years ago

@timar weird. It can be a problem with docker-compose. If I find the problem, I will create a new issue.

Thanks.