GNOME Bugzilla – Bug 89567
Override language for gtkspell ?
Last modified: 2007-01-24 15:25:26 UTC
It would be nice if Pan could tell gtkspell what language an article is written in. This would avoid lots of red lines while I'm writing dutch posts on my 'en_US' locale system.
This is quite critical for all non-english pan users :(( Could be fixed by setting aspell/pspell dictionnary to locale and/or adding a spellchecker language field in preferences (a la gnome-spell/gtkhtml/evolution...)
Unfortunately gtkspell 2.0.0 doesn't have hooks for spelling. According to the gtkspell-dev mailing list, this is in the works, but I don't know when it will be ready. http://www.geocrawler.com/lists/3/SourceForge/5514/0/9219200/ Frederic, I've been flip-flopping on whether or not to disable spellchecking for 0.13.0 and would welcome your opinion. Other than this, translations, and #89544, 0.13.0 is ready to go.
You have two choices : -get english people happy and angry everybody else -angry all people (including english one) by disable spellchecking Choose your poison :)) I think you should let gtkspell auto-enabled (not enforcing its dependency) and add a release note on the spell check only working in english currently..
Bumped remaining bugs to 0.13.2.
Bumped remaining bugs to 0.13.3.
This is not going to happen until gtkspell has hooks to allow the user to choose a language.
gtkspell AFAIK does have hooks, as of 2.0.1, for the application to change the language, leaving it up to the application how to handle it.
We're flooded with bug reports, so it's time to put some enhancements on the backburner. The Pan team will reprioritize these bugs after 0.14.0 is released.
Created attachment 28520 [details] [review] Patch to enter the language in the posting profile Apply the patch with 'patch -p1' in the root directory of pan. It's a simple extension to the posting profile, allowing the user to enter the language code (e.g. 'en' or 'de'). Translations need to be updated, too; the patch includes the update for English and German. This was also discussed in the pan-users mailing list, subject "Is it possible to change the language used by the spellchecker", starting on 05/29/2004.
Uses who know about "en_US" or "de" will already have set LANG, which gtkspell implicitly supports. As for choosing a language on the fly, an entry field that expects the user to enter something obscure like "en_US" is terribly user-hostile. IMO the cleanest way to do this would be for gtkspell's context menu to add a submenu of radiobuttons listing available languages in a human-readable form. Bumping this bug upstream to gtkspell at http://sourceforge.net/tracker/index.php?func=detail&aid=1643622&group_id=7896&atid=357896 Marking this bug as `NOTGNOME' to reflect that it's been bumped upstream to a different bug tracker.