This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trying to make spell checking work

Tags: None
(comma "," separated)
Horus
Registered Member
Posts
296
Karma
0
OS

Trying to make spell checking work

Thu May 15, 2014 7:27 am
Hello,

I try to use spell checking with KDE 4.13.0 on Arch. aspell, aspell-de and aspell-en packages are installed.

In KMail I write some words (with incorrect spelling) in a mail and hit the spell checking button. It says spell checking has finished in the status bar but it obviously checked nothing...

Nothing else I found to be to configure.

Thanks,
Florian
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Do you know if kdelibs (sonnet) was compiled with aspell support enabled?
You should have $PREFIX/lib64/kde4/kspell_aspell.so and $PREFIX/share/kde4/services/kspell_aspell.desktop files if that is the case.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Horus
Registered Member
Posts
296
Karma
0
OS
That seems to be the case:
Code: Select all
% find /usr -name kspell_aspell.so
/usr/lib/kde4/kspell_aspell.so
% find /usr -name kspell_aspell.desktop
/usr/share/kde4/services/kspell_aspell.desktop

Best regards...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you run aspell on a text file containing the content of your email, does it flag the spelling issues there?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Horus
Registered Member
Posts
296
Karma
0
OS
Yes (using aspell -c filename)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please run "kdebugdialog" and enable all debugging areas then run KMail in a terminal with the "--nofork" option. Then perform a spell check in KMail as usual. It may help you to press enter several times in the terminal prior to performing the spell check to introduce a gap between the prior (useless) output and the now relevant spell check output.

Once this is done, I suggest looking through the output for references to "aspell" and "sonnet".


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Horus
Registered Member
Posts
296
Karma
0
OS
Code: Select all
kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999)/kdecore (KLocale) KuitSemanticsPrivate::semanticToVisualText: "Markup error in message {<kuil><qt>
<p>Dieses Wort wird als „unbekannt“ betrachtet, weil es mit keinem Ei...}: Opening and ending tag mismatch.. Last tag parsed: b"
kmail2(1999)/kdecore (KLocale) KuitSemanticsPrivate::semanticToVisualText: "Markup error in message {<kuil><< Zum Wörterbuch hinzufügen</kuil>}: Unerwartet: '<'.. Last tag parsed: kuil"
kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999) Sonnet::Dialog::show: Showing dialog
kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999): No language dictionaries for the language :  "de"

kmail2(1999) Sonnet::Dialog::slotDone: Dialog done!


Ok, now it seems to work, I've changed my spell checking language in KDE settings from "Deutsch" to "Deutsch (Deutschland)"
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Thanks for posting the solution, i've now marked this as solved.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell