Bug 153360 - Languagetool 7.4 not working with languages different from default language (Languagetool installed from Preferences)
Summary: Languagetool 7.4 not working with languages different from default language (...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LanguageTool
  Show dependency treegraph
 
Reported: 2023-02-03 18:58 UTC by Daniele
Modified: 2023-10-23 17:02 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Various text showing the bug (41.72 KB, application/vnd.oasis.opendocument.text)
2023-02-03 18:58 UTC, Daniele
Details
This shows what underlined text I see in LO (312.67 KB, image/jpeg)
2023-02-04 11:27 UTC, Daniele
Details
This shows my settings in Options - Language Settings - Writing Aids (125.32 KB, image/jpeg)
2023-02-04 11:28 UTC, Daniele
Details
"LanguageTool Remote Grammar Checker" does not appear (204.18 KB, image/png)
2023-02-06 15:53 UTC, José Luís Andrade
Details
LT url (64.85 KB, image/png)
2023-05-16 08:10 UTC, Daniele
Details
Writing aids (89.35 KB, image/png)
2023-05-16 08:12 UTC, Daniele
Details
Screenshot of file named Language test Languagetool.odt already submitted (393.43 KB, image/png)
2023-05-16 10:44 UTC, Daniele
Details
Situation after resetting to factory settings (236.44 KB, image/png)
2023-05-16 13:51 UTC, Daniele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele 2023-02-03 18:58:33 UTC
Created attachment 185095 [details]
Various text showing the bug

Hi, since the integration of LT in LO there is new bug which makes the use of LT in LO very difficult.

When I am using strings of text in Latin, French, Italian and German within a paragraph in Spanish for ex. LT struggles to proof the text and sometimes does not specify what mistake it is underlining, sometimes it suggests corrections in Spanish.

Sometimes if the text in the Foreign language starts in a new paragraph the bug is gone, others it persists (such as in the case of Latin tex).

Version: 7.4.4.2 / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 8; OS: Mac OS X 13.2; UI render: default; VCL: osx
Locale: it-IT (en_IT.UTF-8); UI: en-US
Calc: threaded
Comment 1 m_a_riosv 2023-02-03 22:02:50 UTC
It works for me, except for a few single words, like 'lkjafljks'.

Version: 7.4.5.1 (x64) / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: threaded
and
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Please test if you have the languages available with options enable, Menu/Tools/Options/Language Settings/Writing Aids - Available Language Modules - Edit
Comment 2 m_a_riosv 2023-02-03 22:03:42 UTC
Maybe in Mac, Menu/Edit/Preferences
Comment 3 Daniele 2023-02-04 11:27:26 UTC
Created attachment 185103 [details]
This shows what underlined text I see in LO
Comment 4 Daniele 2023-02-04 11:28:26 UTC
Created attachment 185104 [details]
This shows my settings in Options - Language Settings - Writing Aids
Comment 5 Daniele 2023-02-04 11:28:35 UTC
Hi @m.a.riosv,
thank you! I was happy to read that LT installation with the new procedure (https://languagetool.org/insights/post/product-libreoffice/#how-to-enable-languagetool-on-libreoffice) is working correctly in your setup.

I opened the settings and do not see anything different from the instructions above, so am attaching a screenshot of both what I see in the text and my current setup. Maybe you or someone can spot what is wrong.
Comment 6 m_a_riosv 2023-02-04 16:14:02 UTC
Reproducible.
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Comment 7 José Luís Andrade 2023-02-06 15:52:21 UTC
Language module "LanguageTool Remote Grammar Checker" does not appear (See attachment).

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Mac OS X 12.6.3; UI render: Skia/Raster; VCL: osx
Locale: pt-PT (pt_PT.UTF-8); UI: en-US
Calc: threaded
Comment 8 José Luís Andrade 2023-02-06 15:53:33 UTC
Created attachment 185156 [details]
"LanguageTool Remote Grammar Checker" does not appear
Comment 9 Daniele 2023-05-16 08:10:52 UTC
Created attachment 187317 [details]
LT url
Comment 10 Daniele 2023-05-16 08:12:10 UTC
Created attachment 187318 [details]
Writing aids

I've attached two new screenshot.
Tested with LO:

Version: 7.4.7.2 / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 8; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: it-IT (en_IT.UTF-8); UI: en-US
Calc: threaded
Comment 11 Daniele 2023-05-16 08:12:29 UTC
Problem persists.
Comment 12 José Luís Andrade 2023-05-16 09:39:26 UTC
Try the latest version of Libreoffice.
With version 7.5.3 everything is fine.
Comment 13 Daniele 2023-05-16 10:37:44 UTC
Thanks @José Luís Andrade,
I just installed LO 7.5.3 and the words in the submitted text odt are still underlined and the suggestions are not proposed for the language in case. See screenshot. Any ideas why?
Comment 14 Daniele 2023-05-16 10:44:48 UTC
Created attachment 187324 [details]
Screenshot of file named Language test Languagetool.odt already submitted

This is just an example. 

a. The whole paragraph is codified in Spanish (Spain). 
b. Some sentences within have been codified in Italian, others in French or German, or Latin. 
c. All these sentences in FR, ES, IT, have mistakes within them.
d. Except for Latin, unsupported from LT, in all other cases LT should: 

1. detect that they are not in ES and it fails to do so. 
2. underline mistakes only, and it fails too, since it considers them to be Spanish (point 1.)
3. suggest corrections, and it fails on this too because of point 1.
Comment 15 José Luís Andrade 2023-05-16 11:16:48 UTC
You can try reset LibreOffice to Factory Settings.
https://www.trishtech.com/2020/08/how-to-reset-libreoffice-to-factory-settings/

Caution:
It will delete any corrupted files but will also delete all custom preferences.
Comment 16 José Luís Andrade 2023-05-16 11:24:00 UTC
You are right.
The bug persists.
I can reproduce...
Comment 17 Daniele 2023-05-16 13:51:01 UTC
Created attachment 187331 [details]
Situation after resetting to factory settings
Comment 18 Daniele 2023-05-16 13:51:42 UTC
Hi @José Luís Andrade,
I confirm that, after resetting LibreOffice to Factory Settings, the bug persists. See screenshot.
Comment 19 Timur 2023-10-23 17:02:19 UTC
This is a major issue. LO built LT is not usable in mixed language paragraphs. OK with LT extension.