LyXNo Dictionary for German with new Spelling

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
ExecutorElassus
Posts: 94
Joined: Wed Sep 07, 2011 3:14 pm

No Dictionary for German with new Spelling

Post by ExecutorElassus »

So, I ran 'lyx -dbg files', because all of a sudden my German documents are all completely red-underlined. The German dictionary is not loading.

In my Document Settings for Language, I have the following options for German.
  • German
  • German (Austria)
  • German (Austria, old spelling)
  • German (old spelling)
  • German (Switzerland)
When I run with '-dbg files', I see the following output.

Code: Select all

HunspellChecker.cpp (174): check hunspell path: /usr/share/hunspell for language ngerman
HunspellChecker.cpp (174): check hunspell path: /home/myhome/.lyx/dicts for language ngerman
HunspellChecker.cpp (174): check hunspell path: /usr/share/lyx/dicts for language ngerman
HunspellChecker.cpp (179):   found /usr/share/lyx/dicts/en_US
HunspellChecker.cpp (230): Hunspell speller for langage 0x1200818 at /usr/share/lyx/dicts/en_US.dic found
PersonalWordList.cpp (54): load personal dictionary from: /home/myhome/.lyx/pwl_ngerman.dict
However, looking in '/usr/share/lyx/dicts/' I see the following files:

Code: Select all

dicts> ls
de_AT.aff       de_DE.aff          en_CA.dic      en_NZ.dic       hyph_de_CH.dic       th_de_CH_v2.dat
de_AT.dic       de_DE.dic          en_GB.aff      en_US.aff       hyph_de_DE_1901.dic  th_de_CH_v2.idx
de_CH.aff       dictionary.lst.en  en_GB.dic      en_US.dic       hyph_de_DE.dic       th_de_DE_v2.dat
de_CH.dic       en_AU.aff          en_GB-oed.aff  en_ZA.aff       hyph_en_GB.dic       th_de_DE_v2.idx
de_DE_1901.aff  en_AU.dic          en_GB-oed.dic  en_ZA.dic       th_de_AT_v2.dat      th_en_US_v2.dat
de_DE_1901.dic  en_CA.aff          en_NZ.aff      hyph_de_AT.dic  th_de_AT_v2.idx      th_en_US_v2.idx
So, why is HunSpell not identifying the file "de_DE.dic" as a correct German dictionary file, and loading it correctly? What is the actual file name HunSpell needs to see to load "de_DE.dic" as the dictionary file for German with with new spell-checking? Changing the language to "German (old spelling)" does not seem to help.

Cheers,

EE

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply