Ikke's Blog

Post details: GtkSpell language

Dec 23
GtkSpell language

I'm sorry Gnome-NL guys, but I must confess I'm running my desktop using the "C" locale (ie. english). There's one major problem with this: when I'm using Gaim with spell checking enabled, I'm always "wrong" as 99% of all time I talk to IM buddies, it's in dutch (nl_BE, or something close to that at least ;-)).
A very annoying issue that could be solved by disabling spell checking (*sigh*), which I don't want (hey, one has to *fix* problems, not go around them).

So I made this little patch (very simple, low profile patch, I know). It's against gtkspell 2.0.11, and as gtkspell seems to be no longer maintained, this is the version you got on your system most propably too.

To set a language to use for (gtkspell based) spell checking, just set the GTKSPELL_LANG environment variable, like this:
echo "export GTKSPELL_LANG=nl >> ~/.profile"
Then log out and log in again so the variable is incorporated in your environment.

Enjoy!

Comments:

Comment from: JanC [Visitor]
First, gtkspell is not a GNOME project (I'm the Dutch language translator of gtkspell and not a member of Gnome-NL). Second, it's still maintained; gtkspell 3.x is in development, which will support Enchant...
PermalinkPermalink 12/23/05 @ 22:21
Comment from: Ikke [Member] · http://www.eikke.com
I know gtkspell is not a GNOME project (it's hosted on sf.net, and isn't inside the developer or desktop platform). I just mentioned Gnome-NL because some people in there (reinouts ;-)) don't like the fact I run my desktop in non-NL mode.
It is possible gtkspell is still maintained if you say so... The latest CVS commit I could find though is dated 2 months ago. The last mailing list messages only contain spam,...
FYI: the Gaim FAQ states: "This functionality has long been promised for gtkspell version 3, which has been delayed somewhat indefinitely" (see http://gaim.sourceforge.net/faq.php#q112)

I didn't want to offend anyone by writing this blog entry or patch... Just made it for my own use, and maybe to help someone else out who got similar issues.
PermalinkPermalink 12/23/05 @ 23:05
Comment from: Tamentis [Visitor]
This patch is a great idea, but changing the environment variable each time I switch language is not practical. I might be talking in french and english to different persons and I can't have spellchecking for both windows.
PermalinkPermalink 01/20/06 @ 11:02

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

Who's Online?

  • Guest Users: 470

Misc

XML Feeds

What is RSS?