[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 89830] New: kspell aspell iso codes
From:       Heiko Evermann <Heiko.Evermann () gmx ! de>
Date:       2004-09-19 17:26:24
Message-ID: 20040919192623.89830.Heiko.Evermann () gmx ! de
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=89830        
           Summary: kspell aspell iso codes
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kspell
        AssignedTo: zack kde org
        ReportedBy: Heiko.Evermann gmx de


Version:            (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          GCC 
OS:                Linux

KSpell does not work properly with aspell 0.6. In the KDE spell dialog the combo box \
for the available languages within aspell is not working properly.

1) KDE just scans /usr/lib/aspell (and other directories where aspell might be \
installed) and treats every file it finds as a language file. aspell 0.6 has put \
several character set definition files into /usr/lib/aspell. All these are reported \
as language "unknown" as KDE is not able to find out, what language it is. This \
clutters the combo box. 2) KDE tries to look up the 2-letter language code for use in \
the combo box. This is supposed to map e.g. "de" to "German". Since aspell 0.6 we can \
also have 3-letter language codes like in "nds" (Low Saxon) and "hsb" (Upper Sorbian) \
So nds or hsb are reported as "unknown". If kspell is not able to find out a text \
string (like in some user made spelling files) it should report "unknown (file \
name)". A sample hsb file can be obtained from aspell.net. A sample nds file for \
aspell is not yet publicly available. 3) Instead of scanning the directories it would \
be better to use aspell functions. This can be copied from list-dicts.c from the \
aspell example files. Aspell will probably be better in finding out which languages \
are installed and which are not, especially in the case that aspell might change the \
implementation.

Kind regards,

Heiko Evermann


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic