Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image: No en_US or de_DE available for text language in Spelling prompt and spellchecker #10502

Open
leomeinel opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working unconfirmed

Comments

@leomeinel
Copy link

leomeinel commented Nov 14, 2024

Describe the Bug

CODE doesn't display en_US or de_DE in the Spelling prompt and the spellchecker doesn't work at all. For nl_NL and fr_FR it works. Since I am using the docker container, all dictionaries should be installed and by using the dictionaries variable, should also be supported.

I would assume that other languages might also be affected by this.

I am using CODE with the Nextcloud Office app.

Setup

Podman/Docker images
CODE: docker.io/collabora/code:24.04.9.2.1
Nextcloud: docker.io/nextcloud:30-fpm-alpine
collabora.env
aliasgroup1=https://nextcloud.example.com:443
DONT_GEN_SSL_CERT=true
server_name=collabora.example.com
dictionaries=de en fr nl
extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:languagetool.enabled=true --o:languagetool.base_url=http://127.0.0.1:8090/v2 --o:languagetool.ssl_verification=false --o:remote_font_config=https://nextcloud.example.com/apps/richdocuments/settings/fonts.json --o:admin_console.enable=false --o:experimental_features=false --o:fetch_update_check=0 --o:allow_update_popup=false --o:per_document.idlesave_duration_secs=30 --o:per_document.autosave_duration_secs=300 --o:per_document.always_save_on_exit=true
Additional info

If anyone is wondering about other specifics of my setup, see this. Only the answer is relevant, the rest is already outdated.

Steps to Reproduce

  1. Set up CODE, Nextcloud and Languagetool Docker/Podman containers
  2. Create a document that uses fr_FR and one that uses en_US
  3. Open document and see that spellchecking is only supported for fr_FR and that, if you open the Spelling prompt, English (USA) isn't displayed

Expected Behavior

  • All configured dictionaries showing up and working with spellchecker

Actual Behavior

  • en_US and de_DE not showing up and not working with spellchecker (See first screenshot)

Screenshots

2024-11-14T20-21-45

Desktop

  • Collabora version: 24.04.9.2.1
  • Nextcloud Office version: 8.5.2
  • OS and version: Linux 6.6.60-1-lts
  • Browser and version: Firefox 132.0.2 (64-bit)

Verification of installed languages

I couldn't find (or didn't bother to investigate further than I already did) any information on which languages are installed by default on the docker image, but I just searched in the filesystem to get some info.

> $ find / | grep "dict-en"

    <...>
    /opt/collaboraoffice/share/extensions/dict-en
    /opt/collaboraoffice/share/extensions/dict-en/English.png
    /opt/collaboraoffice/share/extensions/dict-en/Lightproof.components
    /opt/collaboraoffice/share/extensions/dict-en/Lightproof.py
    /opt/collaboraoffice/share/extensions/dict-en/Linguistic.xcu
    /opt/collaboraoffice/share/extensions/dict-en/META-INF
    /opt/collaboraoffice/share/extensions/dict-en/META-INF/manifest.xml
    /opt/collaboraoffice/share/extensions/dict-en/README.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_en_AU.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_en_CA.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_en_GB.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_en_GB_thes.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_en_US.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_en_ZA.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_hyph_en_GB.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_hyph_en_US.txt
    /opt/collaboraoffice/share/extensions/dict-en/README_lightproof_en.txt
    /opt/collaboraoffice/share/extensions/dict-en/WordNet_license.txt
    /opt/collaboraoffice/share/extensions/dict-en/affDescription.txt
    /opt/collaboraoffice/share/extensions/dict-en/changelog.txt
    /opt/collaboraoffice/share/extensions/dict-en/description.xml
    /opt/collaboraoffice/share/extensions/dict-en/dialog
    /opt/collaboraoffice/share/extensions/dict-en/dialog/OptionsDialog.xcs
    /opt/collaboraoffice/share/extensions/dict-en/dialog/OptionsDialog.xcu
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en.xdl
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_ar.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_bg.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_ca.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_cs.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_da.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_de.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_el.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_en_GB.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_en_US.default
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_en_US.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_eo.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_es.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_eu.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_fi.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_fr.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_gl.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_he.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_hr.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_hu.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_id.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_is.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_it.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_ja.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_ko.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_lo.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_nb.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_nl.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_oc.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_pl.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_pt.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_pt_BR.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_ru.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_sk.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_sl.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_sq.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_sv.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_tr.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_uk.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_vi.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_zh_CN.properties
    /opt/collaboraoffice/share/extensions/dict-en/dialog/en_zh_TW.properties
    /opt/collaboraoffice/share/extensions/dict-en/dictionaries.xcu
    /opt/collaboraoffice/share/extensions/dict-en/en_AU.aff
    /opt/collaboraoffice/share/extensions/dict-en/en_AU.dic
    /opt/collaboraoffice/share/extensions/dict-en/en_CA.aff
    /opt/collaboraoffice/share/extensions/dict-en/en_CA.dic
    /opt/collaboraoffice/share/extensions/dict-en/en_GB.aff
    /opt/collaboraoffice/share/extensions/dict-en/en_GB.dic
    /opt/collaboraoffice/share/extensions/dict-en/en_US.aff
    /opt/collaboraoffice/share/extensions/dict-en/en_US.dic
    /opt/collaboraoffice/share/extensions/dict-en/en_ZA.aff
    /opt/collaboraoffice/share/extensions/dict-en/en_ZA.dic
    /opt/collaboraoffice/share/extensions/dict-en/hyph_en_GB.dic
    /opt/collaboraoffice/share/extensions/dict-en/hyph_en_US.dic
    /opt/collaboraoffice/share/extensions/dict-en/license.txt
    /opt/collaboraoffice/share/extensions/dict-en/package-description.txt
    /opt/collaboraoffice/share/extensions/dict-en/pythonpath
    /opt/collaboraoffice/share/extensions/dict-en/pythonpath/lightproof_en.py
    /opt/collaboraoffice/share/extensions/dict-en/pythonpath/lightproof_handler_en.py
    /opt/collaboraoffice/share/extensions/dict-en/pythonpath/lightproof_impl_en.py
    /opt/collaboraoffice/share/extensions/dict-en/pythonpath/lightproof_opts_en.py
    /opt/collaboraoffice/share/extensions/dict-en/th_en_US_v2.dat
    /opt/collaboraoffice/share/extensions/dict-en/th_en_US_v2.idx
    <...>
    /var/lib/dpkg/info/collaboraoffice-dict-en.conffiles
    /var/lib/dpkg/info/collaboraoffice-dict-en.list
    /var/lib/dpkg/info/collaboraoffice-dict-en.md5sums
    
> $ find / | grep "dict-de"

    <...>
    /opt/collaboraoffice/share/extensions/dict-de
    /opt/collaboraoffice/share/extensions/dict-de/COPYING_GPLv2
    /opt/collaboraoffice/share/extensions/dict-de/COPYING_GPLv3
    /opt/collaboraoffice/share/extensions/dict-de/COPYING_OASIS.txt
    /opt/collaboraoffice/share/extensions/dict-de/META-INF
    /opt/collaboraoffice/share/extensions/dict-de/META-INF/manifest.xml
    /opt/collaboraoffice/share/extensions/dict-de/README_de_DE_frami.txt
    /opt/collaboraoffice/share/extensions/dict-de/README_extension_owner.txt
    /opt/collaboraoffice/share/extensions/dict-de/README_hyph_de.txt
    /opt/collaboraoffice/share/extensions/dict-de/README_thesaurus.txt
    /opt/collaboraoffice/share/extensions/dict-de/de_AT_frami.aff
    /opt/collaboraoffice/share/extensions/dict-de/de_AT_frami.dic
    /opt/collaboraoffice/share/extensions/dict-de/de_CH_frami.aff
    /opt/collaboraoffice/share/extensions/dict-de/de_CH_frami.dic
    /opt/collaboraoffice/share/extensions/dict-de/de_DE_frami.aff
    /opt/collaboraoffice/share/extensions/dict-de/de_DE_frami.dic
    /opt/collaboraoffice/share/extensions/dict-de/description.xml
    /opt/collaboraoffice/share/extensions/dict-de/dictionaries.xcu
    /opt/collaboraoffice/share/extensions/dict-de/hyph_de_AT.dic
    /opt/collaboraoffice/share/extensions/dict-de/hyph_de_CH.dic
    /opt/collaboraoffice/share/extensions/dict-de/hyph_de_DE.dic
    /opt/collaboraoffice/share/extensions/dict-de/th_de_CH_v2.dat
    /opt/collaboraoffice/share/extensions/dict-de/th_de_CH_v2.idx
    /opt/collaboraoffice/share/extensions/dict-de/th_de_DE_v2.dat
    /opt/collaboraoffice/share/extensions/dict-de/th_de_DE_v2.idx
    <...>
    /var/lib/dpkg/info/collaboraoffice-dict-de.conffiles
    /var/lib/dpkg/info/collaboraoffice-dict-de.list
    /var/lib/dpkg/info/collaboraoffice-dict-de.md5sums
    
> $ find / | grep "dict-nl"

    <...>
    /opt/collaboraoffice/share/extensions/dict-nl
    /opt/collaboraoffice/share/extensions/dict-nl/META-INF
    /opt/collaboraoffice/share/extensions/dict-nl/META-INF/manifest.xml
    /opt/collaboraoffice/share/extensions/dict-nl/OpenTaal.png
    /opt/collaboraoffice/share/extensions/dict-nl/README_NL.txt
    /opt/collaboraoffice/share/extensions/dict-nl/description.xml
    /opt/collaboraoffice/share/extensions/dict-nl/dictionaries.xcu
    /opt/collaboraoffice/share/extensions/dict-nl/hyph_nl_NL.dic
    /opt/collaboraoffice/share/extensions/dict-nl/license_en_EN.txt
    /opt/collaboraoffice/share/extensions/dict-nl/licentie_nl_NL.txt
    /opt/collaboraoffice/share/extensions/dict-nl/nl_NL.aff
    /opt/collaboraoffice/share/extensions/dict-nl/nl_NL.dic
    <...>
    /var/lib/dpkg/info/collaboraoffice-dict-nl.conffiles
    /var/lib/dpkg/info/collaboraoffice-dict-nl.list
    /var/lib/dpkg/info/collaboraoffice-dict-nl.md5sums
    
> $ find / | grep "dict-fr"

    <...>
    /opt/collaboraoffice/share/extensions/dict-fr
    /opt/collaboraoffice/share/extensions/dict-fr/META-INF
    /opt/collaboraoffice/share/extensions/dict-fr/META-INF/manifest.xml
    /opt/collaboraoffice/share/extensions/dict-fr/README_fr.txt
    /opt/collaboraoffice/share/extensions/dict-fr/README_hyph_fr.txt
    /opt/collaboraoffice/share/extensions/dict-fr/README_thes_fr.txt
    /opt/collaboraoffice/share/extensions/dict-fr/description.xml
    /opt/collaboraoffice/share/extensions/dict-fr/dictionaries.xcu
    /opt/collaboraoffice/share/extensions/dict-fr/fr.aff
    /opt/collaboraoffice/share/extensions/dict-fr/fr.dic
    /opt/collaboraoffice/share/extensions/dict-fr/hyph-fr.tex
    /opt/collaboraoffice/share/extensions/dict-fr/hyph_fr.dic
    /opt/collaboraoffice/share/extensions/dict-fr/icon.png
    /opt/collaboraoffice/share/extensions/dict-fr/package-description.txt
    /opt/collaboraoffice/share/extensions/dict-fr/thes_fr.dat
    /opt/collaboraoffice/share/extensions/dict-fr/thes_fr.idx
    <...>
    /var/lib/dpkg/info/collaboraoffice-dict-fr.conffiles
    /var/lib/dpkg/info/collaboraoffice-dict-fr.list
    /var/lib/dpkg/info/collaboraoffice-dict-fr.md5sums
    

Additional Context

  • I am also encountering this, which might be related, but I would assume it is not.
@leomeinel leomeinel added bug Something isn't working unconfirmed labels Nov 14, 2024
@leomeinel leomeinel changed the title Docker image: No en_US or de_DE available for text language in Spelling prompt Docker image: No en_US or de_DE available for text language in Spelling prompt and spellchecker Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
Status: No status
Development

No branches or pull requests

1 participant