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 336484 - Select locale for the spell checker on a per-note basis
Select locale for the spell checker on a per-note basis
Status: RESOLVED NOTGNOME
Product: tomboy
Classification: Applications
Component: General
unspecified
Other All
: Normal enhancement
: 1.6.0
Assigned To: Tomboy Maintainers
Tomboy Maintainers
gnome[moved-to-github]
: 323709 430235 516004 517838 556319 597487 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-29 13:34 UTC by Juan José Sánchez Penas
Modified: 2017-07-31 12:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Juan José Sánchez Penas 2006-03-29 13:34:40 UTC
When I use Tomboy, I normally have notes in several languages. Tomboy takes the
locale from my desktop configuration and assumes all of them are in the same
locale, spell checking them against it and putting all the "incorrect" red lines
under all the words of some of the notes. Not very nice, indeed.
Comment 1 Juan José Sánchez Penas 2006-03-29 13:35:37 UTC
Interesting feature could be:
- Be able to select the locale for each note, different from the default one, and then use spell checker with the rigth language.
- Be able at least to switch off the spell-checker for a given note.
Comment 2 Eduardo Cereto Carvalho 2006-12-01 16:17:48 UTC
I speak Portuguese but I use Ubuntu in English cause I prefer that way.
Tomboy will make English my primary language for notes. 
There should be a way to change the default language for the whole app.

Though it's not exactly what the bug means it should be easier to do.

Maybe This bug should be posted at GtkSpell
Comment 3 Jan Alonzo 2007-02-07 06:06:44 UTC
*** Bug 323709 has been marked as a duplicate of this bug. ***
Comment 4 Sandy Armstrong 2007-04-16 13:14:49 UTC
*** Bug 430235 has been marked as a duplicate of this bug. ***
Comment 5 cantfind 2007-06-08 12:06:35 UTC
I too am using more then one language in my notes, and would like to have the ability to change the spell-check's language.

It would be great if the spell checker would use simultaneously all the languages i choose to enable. (or maybe all the dictionaries installed on the system...) 
Comment 6 Johannes Rohr 2007-06-10 19:31:39 UTC
Further, tomboy should not assume all text of a particular note to be in a single language. It should be possible to select text and assign a different language to the selection. Moreover, this change should be persistent, just as every word processor nowadays saves the language as part of the format information. I assume that tomboy saves its notes in some dialect of XML. therefore it should be easily possible to save the current language in some XML markup. 
Comment 7 Sandy Armstrong 2007-06-10 20:44:49 UTC
We'd definitely love to see any patches to improve this.  As far as I know, we just attach the entire GtkTextView to a gtkspell instance...I'm not sure what other flexibility is available in that library.

Thanks for all the great ideas!
Comment 8 Sandy Armstrong 2008-02-12 13:18:27 UTC
*** Bug 516004 has been marked as a duplicate of this bug. ***
Comment 9 Sandy Armstrong 2008-02-21 12:58:55 UTC
*** Bug 517838 has been marked as a duplicate of this bug. ***
Comment 10 Boyd Timothy 2008-02-26 19:16:16 UTC
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Comment 11 Eetu Huisman 2008-09-24 16:24:09 UTC
It would be great if there was a standard way in Gnome to do this. Now each application implements (or, usually, doesn't implement) multiple language spell checking separately.
Comment 12 Sandy Armstrong 2008-10-14 20:16:22 UTC
*** Bug 556319 has been marked as a duplicate of this bug. ***
Comment 13 popi 2009-02-07 15:21:11 UTC
It should be nice to be abble to choose default langage for each Bloc-Note...
Comment 14 Sandy Armstrong 2009-04-09 13:02:10 UTC
I have moved the request to simply disable spell checking on a per-note basis to bug #578470.  This bug is now specifically for changing the locale on a per-note basis.
Comment 15 Sandy Armstrong 2009-10-05 23:02:55 UTC
*** Bug 597487 has been marked as a duplicate of this bug. ***
Comment 16 Sandy Armstrong 2009-12-22 14:50:20 UTC
This bug isn't exactly fixed, but in gtkspell 2.0.15 there is a new Languages submenu in the right-click menu that allows you to change the language being used for spell-checking.

We just need to be able to save that setting.
Comment 17 Sandy Armstrong 2010-11-02 18:12:49 UTC
The relevant function is:

http://gtkspell.sourceforge.net/doc/gtkspell-gtkspell.html#gtkspell-set-language

Looks like this won't be too hard.  Setting as gnome-love.
Comment 18 Luc Pi 2012-04-07 13:55:02 UTC
don't you miss a 'get-language' at some point?

(when the user changes the language through the widget UI)
Comment 19 Luc Pi 2012-10-09 23:17:16 UTC
gtk_spell_checker_get_language() just landed in GtkSpell.

Looking forward to the next release.

http://sourceforge.net/p/gtkspell/code/ci/8d09b18b69b474e945f024cd6b193b59512a20f1/
Comment 20 Jared Jennings 2012-10-16 22:22:03 UTC
So should this be as an add-in?
Comment 21 André Klapper 2017-07-31 12:37:31 UTC
The Tomboy team has moved from GNOME Bugzilla to GitHub for bug reports and feature requests: 
      https://github.com/tomboy-notes/tomboy/issues/
Closing this report as NOTGNOME as part of Bugzilla Housekeeping (bug 781054) to keep tasks in one place. Please feel free to transfer this task to GitHub if this task is still valid in a recent Tomboy version. 
We are sorry for the inconvenience.