[Fedora-i18n-bugs] [Bug 500559] [Indic] Indic hunspell dictionary not working with kwrite, kate
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 15 07:54:38 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=500559
--- Comment #9 from Parag <pnemade at redhat.com> 2009-05-15 03:54:37 EDT ---
(In reply to comment #8)
> a) the warning about ELFCLASS is from enchant, i.e. #3
> b) hunspell-mr has a bad non-utf8 line in it, so lets exclude that language
> from discussion for the moment, as that specific dictionary is a little broken
>
Thanks built new hunspell-mr.
> c) I don't use KDE much, but I logged in as Oriya and I see that the English
> spellchecker is the default, looking at the kde system settings->regional and
> language I see a spell checker option, where the default language was set as
> English, if I change that to a different language e.g. Oriya then the spell
> checking dialogs in kwrite and kate start with that language instead of
> english.
>
> It looks to me that in KDE changing the language you login with has no effect
> on the language used for spell-checking. e.g. If I log in as German, I also get
> English as the default spell checking language in KDE unless I manually toggle
> that spell-checking language option.
But does that mean setting default spell checker for current locale is manual
step?
>
> d) I also think enchant is working fine except for the small issue of #3
> e.g. if we have a locale of or_IN, and we test the simple command line tool,
> then
>
> strace enchant -a 2>&1 < /dev/null | grep myspell | grep dic
>
> should say...
> open("/usr/share/myspell/or_IN.dic", O_RDONLY) = 3
> and so on for the other languages, i.e. find the hunspell ones correctly
Yes that works fine with mr_IN also now
[parag at rawhideTM /]$ LANG=mr_IN.UTF-8
[parag at rawhideTM /]$ strace enchant -a 2>&1 < /dev/null | grep myspell | grep
dic
access("/home/parag/.config/enchant/myspell/mr_IN.dic", F_OK) = -1 ENOENT (No
such file or directory)
access("/home/parag/.enchant/myspell/mr_IN.dic", F_OK) = -1 ENOENT (No such
file or directory)
access("/usr/share/enchant/myspell/mr_IN.dic", F_OK) = -1 ENOENT (No such file
or directory)
access("/usr/share/myspell/mr_IN.dic", F_OK) = 0
open("/usr/share/myspell/mr_IN.dic", O_RDONLY) = 3
>
> e) but FWIW I don't get any errors like
> kwrite(4066): No language dictionaries for the language : "mr"
> for me kate and kwrite act exactly the same
>
> So...
> if you select the Indic languages manually from settings->regional and language
> in KDE (and either skip testing Marathi or use the fixed dictionary) do those
> Indic dictionaries work in kate and kwrite ?, i.e. to test if dictionaries +
> enchant + sonnet are working correctly and ignoring the "want spellchecking to
> automatically use locale" wishlist item.
Yes successfully tested Marathi as well as Oriya and Punjabi dictionary with
above steps and now no warnings/errors on konsole.
So is there any way to auto set dictionary to locale in which desktop started?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the i18n-bugs
mailing list