Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-22-2018, 05:23 AM   #1
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
spell checking with two or more languages

I've got the following problem, when I use the spell checking tool in the editor:

In the spell checking tool incorrectly spelled words are shown in connection with their assigned language. When I notice, e.g., that a French word is considered to be English, I double click on such a word in the spell checking tool, the editor jumps to the word in the text, and I can mark it with, e.g., <span lang="fr">...</span>.

During this process, it can happen that a French word occurring several times in the text appears in both French and English text portions.

However, when I double click on such an "English" word in the spell checking tool to mark the remaining words as French words, the editor not only jumps to the words in the English text portions, but also jumps to the words in the French text portions.

Regards,

McDummy
mcdummy is offline   Reply With Quote
Old 01-22-2018, 07:10 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,053
Karma: 10034422
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
WHy are you doing this replace ment manually? Simply do a search replace and replace all instances of the word with <span lang="fr">word</span>. THen re-run the spell check dialog. Actually, come to think of it you could even just type in that into the replace field of the S&R panel and do the replacement right there.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-22-2018, 08:00 AM   #3
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
I'm well aware of the search and replace solution, but his doesn't help, if a word is spelled in the same way in different languages.

And most of the time, it is not just one word that has to be tagged with a language tag, but a complete phrase or even a sentence.

Maybe you know a solution to tag words and sentences in these cases with search and replace, but I don't.
mcdummy is offline   Reply With Quote
Old 01-22-2018, 08:44 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,053
Karma: 10034422
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
SO do a search for the word, go through the instances of its occurrences one by one and tag as appropriate. A spell checker is not going to help you with that.
kovidgoyal is offline   Reply With Quote
Old 01-22-2018, 09:23 AM   #5
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
But that does not solve the original problem that the spell checker does not take language tags into account when jumping to incorrectly spelled words after a double clicking.
mcdummy is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell checking multiple languages phossler Editor 16 08-08-2017 01:00 PM
spell checking brolny Sigil 1 09-18-2015 09:38 AM
Spell checking content.opf BetterRed Editor 3 02-13-2015 03:37 AM
Multi-lingual spell checking Stingo Amazon Kindle 6 11-19-2013 04:58 PM


All times are GMT -4. The time now is 10:53 AM.


MobileRead.com is a privately owned, operated and funded community.