Bug 171432

Summary: Parley can't spellcheck with hunspell-de
Product: [Applications] parley Reporter: Kevin Kofler <kevin.kofler>
Component: generalAssignee: Parley Developers <parley-devel>
Status: RESOLVED FIXED    
Severity: normal CC: gladhorn, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kevin Kofler 2008-09-22 03:22:09 UTC
Version:            (using KDE 4.1.0)
OS:                Linux
Installed from:    Fedora RPMs

It is not possible to spellcheck German in Parley with the hunspell dictionaries (the default in Fedora):
1. Parley only allows to pick the language from a hardcoded list of languages/locales. It represents German as "de".
2. It then wants to use a spellchecker for exactly that locale.
3. Hunspell's German dictionaries, however, are called de_DE, de_AT, de_CH etc., there's no dictionary called just "de".
Thus, it fails to find a dictionary and we lose. (It says something to the effect of "cannot find dictionary for langauge 'de'".) The same problem probably also affects many other languages.
Comment 1 Kevin Kofler 2010-02-05 01:35:18 UTC
Ping? This is still not fixed in 4.3.4.
Comment 2 Frederik Gladhorn 2011-04-04 14:19:38 UTC
Git commit bdaabe145a527a9f3faf7132223e57579be1d9e1 by Frederik Gladhorn.
Committed on 04/04/2011 at 14:00.
Pushed by gladhorn into branch 'master'.

Rewrite spell-checking.

Make spell checking check only one language.
Add combobox to select speller on a per language base in language settings.

Currently it will check the selected column.
(It should offer the column titles in the menu instead.)

BUG: 171432
BUG: 236348
BUG: 252690
BUG: 269386
FIXED-IN: KDE 4.7.0

M  +24   -9    src/settings/languagepropertiespage.cpp     
M  +18   -5    src/settings/languagepropertiespage.ui     
M  +23   -17   src/settings/languagesettings.kcfg     
M  +44   -59   src/vocabulary/vocabularyview.cpp     
M  +6    -4    src/vocabulary/vocabularyview.h     

http://commits.kde.org/parley/bdaabe145a527a9f3faf7132223e57579be1d9e1