careteditor / issues

Caret issues
https://caret.io
325 stars 12 forks source link

Incorrect language detection #320

Open borekb opened 7 years ago

borekb commented 7 years ago

The language for the snippet below is detected as English which I do not quite understand because most words are in green (Czech).

image

Czech should win but it doesn't. It's enough to delete "ready" from the text and it's detected as Czech.

astoilkov commented 7 years ago

Can you paste the text from the example because I have tried to write in Czech but it is really hard for me. I wasn't able to write the y with the tick on top made only ÿ 😄

borekb commented 7 years ago

:) There you go:

já tenhle týden dopíšu user docs, nahodím na Intercom Educate (pořídil jsem minulý týden) a bude to ready na první uživatele

BsNoSi commented 7 years ago

It is very annoying, that I can not preset a correction language. I do not write in German only (preset of my OS), therefore, english texts – like this – are wrongly "corrected".

To keep it smart and simple, I would prefer a preference setting, to add a list of possible languages to the properties drop down or a shortcut to switch thru them – with a notification in the footer (EN, DE, ES, …).

borekb commented 6 years ago

Another example where a single English word beats a couple of Czech words:

image

Plain text for you to test:

Asi hlavní achievement včerejška je rozseknutí 
Li-An commented 4 years ago

Hello, I am french and in Caret 3.4.6, it’s still English that is detected for spelling (well, I hope v4.0 will fix this).

astoilkov commented 4 years ago

Hi @Li-An,

Yes, it fixes it. We have made spellchecker work the same way every native macOS app works.

Li-An commented 4 years ago

I’m on Win 10 64 bits. But after writing this comment and checked my official language and saving some setting, magically french was discovered. Quite strange but it works for the moment.