After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 89567 - Override language for gtkspell ?
Override language for gtkspell ?
Status: RESOLVED NOTGNOME
Product: Pan
Classification: Other
Component: general
pre-0.13.0 betas
Other other
: Normal enhancement
: bluesky
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2002-07-31 23:11 UTC by Christophe Lambin
Modified: 2007-01-24 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to enter the language in the posting profile (12.09 KB, patch)
2004-06-09 18:20 UTC, Joerg Ruedenauer
none Details | Review

Description Christophe Lambin 2002-07-31 23:11:49 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.
Comment 1 Frederic Crozat 2002-08-05 14:09:59 UTC
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...)
Comment 2 Charles Kerr 2002-08-05 15:41:32 UTC
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.
Comment 3 Frederic Crozat 2002-08-05 15:48:08 UTC
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..
Comment 4 Christophe Lambin 2002-10-10 23:59:52 UTC
Bumped remaining bugs to 0.13.2.
Comment 5 Christophe Lambin 2002-11-13 20:53:01 UTC
Bumped remaining bugs to 0.13.3.
Comment 6 Charles Kerr 2002-11-19 18:13:40 UTC
This is not going to happen until gtkspell has hooks to allow
the user to choose a language.
Comment 7 compwiz 2002-12-09 06:38:54 UTC
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.
Comment 8 Charles Kerr 2003-03-09 16:28:58 UTC
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.
Comment 9 Joerg Ruedenauer 2004-06-09 18:20:36 UTC
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.
Comment 10 Charles Kerr 2007-01-24 15:25:10 UTC
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.