GNOME Bugzilla – Bug 336484
Select locale for the spell checker on a per-note basis
Last modified: 2017-07-31 12:37:31 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.
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.
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
*** Bug 323709 has been marked as a duplicate of this bug. ***
*** Bug 430235 has been marked as a duplicate of this bug. ***
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...)
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.
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!
*** Bug 516004 has been marked as a duplicate of this bug. ***
*** Bug 517838 has been marked as a duplicate of this bug. ***
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
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.
*** Bug 556319 has been marked as a duplicate of this bug. ***
It should be nice to be abble to choose default langage for each Bloc-Note...
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.
*** Bug 597487 has been marked as a duplicate of this bug. ***
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.
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.
don't you miss a 'get-language' at some point? (when the user changes the language through the widget UI)
gtk_spell_checker_get_language() just landed in GtkSpell. Looking forward to the next release. http://sourceforge.net/p/gtkspell/code/ci/8d09b18b69b474e945f024cd6b193b59512a20f1/
So should this be as an add-in?
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.