Bug 284653 - german spellchecking broken
Summary: german spellchecking broken
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kspell (other bugs)
Version First Reported In: 4.7
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 22:38 UTC by Victor Mataré
Modified: 2016-03-29 20:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2011-10-21 22:38:35 UTC
Version:           2.1.0 (using KDE 4.7.2) 
OS:                Linux

Kile seems to replace every occurence of "ß" in the german dictionary with "ss". In Kate, words like "beißen" are correctly recognized, but Kile wants to correct "beißen" to "beissen", which is obviously wrong. This is true for every word I tried that contains the letter "ß". I'm using hunspell with the myspell-de dictionary, if that's important.

Reproducible: Always

Steps to Reproduce:
Use Kile with hunspell and myspell-de, enable de_DE dictionary, enter "beißen", spellcheck.

Actual Results:  
"beißen" is underlined and "beissen" is proposed instead.

Expected Results:  
"beißen" is recognized as correct

Works fine in Kate.
Comment 1 Michel Ludwig 2011-10-22 12:41:44 UTC
I can't reproduce this here with Enchant + Aspell German dictionary.

Did you also edit a LaTeX document in Kate?
Comment 2 Victor Mataré 2011-10-22 12:57:46 UTC
> Did you also edit a LaTeX document in Kate?

Nope. Now that I tried, it seems to be a bug in Kate. Actually I was also wrong before. It doesn't work at all in kate, but does work in kwrite. So I'll close this as invalid and open a kate bug instead, I guess...
Comment 3 Michel Ludwig 2011-10-22 13:03:26 UTC
Kile, Kate, KWrite is all the same when it comes to problems with the editor :)

My guess would be that it's a problem with the dictionaries, i.e. hunspell + myspell. But we really have to be sure that it works fine with KWrite.

It would be ideal if you could temporarily uninstall your current dictionaries and try out Enchant + apsell. My distribution unfortunately doesn't provide myspell packages, which seems a little outdated:

http://en.wikipedia.org/wiki/MySpell

(For convenience, we can simply keep this bug report and move it to the respective component later on)
Comment 4 Quincy 2013-03-29 04:22:21 UTC
Old but obviously unresolved issue, because I'm experiencing quite the same behaviour. I tested some applications with "beißen" and "hassen" (correct spellings) as well as "beissen" and "haßen" (wrong spellings). All of them (Kile, Kate, KDevelop, KWrite) suggest "ss" for "beißen" and also for "haßen" with the former being obviously wrong.

In my case Kate at first had another dictionary selected which did not complain about anything, but that one vanished after uninstalling and reinstalling all dictionaries (perhaps the same case as above?). The option was still there in KWrite, but also suggested nothing.

Calling hunspell from console (hunspell -i utf-8 -d de_DE_frami) yields:
Hunspell 1.3.2
beißen 
*

hassen
*

beissen
& beissen 2 0: beißen, bissen

haßen
& haßen 8 0: hassen, aßen, saßen, hauen, maßen, haben, haken, Maßen

So obviously hunspell itself and the dictionaries are working.

After that I uninstalled hunspell and all myspell dictionaries and installed aspell. This time all Kate derivates work with "Deutsch", but not with also listed dictionary option "Deutsch (Deutschland)", where nothing is checked at all. Console output of kile gives:

kile(20448): No language dictionaries for the language :  "de_DE_frami"

The name of the dictionary is indeed de_DE and therefore using "Deutsch (Schweiz)" (de_CH) and "Deutsch (Österreich)" de_AT work perfectly. Unfortunately LibreOffice does not support aspell at all, so I would like to run hunspell properly as in console mode.

Installed versions are (Gentoo Linux amd64 stable):
KDE 4.9.5
Enchant 1.6.0
hunspell 1.3.2-r3
myspell-de-2012.06.17
LibreOffice 3.6.4.3

aspell-0.60.6.1
aspell-en-6.0.0
aspell-de-0.60_pre20030222
Comment 5 Till Schäfer 2013-10-02 09:36:50 UTC
this is a problem in enchant falling back to the wrong dictionary (ie. DE_CH instead of DE_DE) -> visit the following link:

https://bugs.gentoo.org/show_bug.cgi?id=425704
Comment 6 Victor Mataré 2016-03-29 20:08:05 UTC
same as bug #284701: Probably resolved in distribution packages.