languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
11.83k stars 1.38k forks source link

Chrome extension changes language arbitrarily #8143

Open PavanLuca opened 1 year ago

PavanLuca commented 1 year ago

LanguageTool's extension on Chrome changes language from French to English automatically.

Posted for ignace72, https://forum.languagetool.org/t/chrome-extension-changes-language-arbitrarily/8836

ignace72 commented 1 year ago

Hello to all. I have one more example: I was writing an article about a software and I made the "stupidity" to put the list of required dependencies. Then I decided to continue my article using the language of my article so in French. And no, LanguageTool arbitrarily decided that I was not writing in French, but in English when even in the preferences, I only indicated French as the preferred language. The change in LanguageTool happened when I typed "tar.gz". Have a nice evening. https://ignace72.eu/wp-content/uploads/2023/04/languagetool-switch-language.webp

PavanLuca commented 1 year ago

My opinion is that LanguageTool detects wrong words as written in other language because those detected ones are more compared to the total of the ones of the rest of the text, so if you write many English words rather than French words LanguageTool shows French words as wrong. I see this behavior many times as I write in a support forum and many mails so sometimes I write some examples in a language different from the one set on LanguageTool. By the way, this behavior isn't wrong, if a certain language is set I can't expect LanguageTool to not underline them as wrong, it's not set to ignore some words because the user is making some examples, explaining a rule or whatever.