Bug 160519 - Spellchecker Spanish Language do no correct obvious mistakes in a multi language document
Summary: Spellchecker Spanish Language do no correct obvious mistakes in a multi langu...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 10:37 UTC by David
Modified: 2024-04-05 02:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Smallest fikle showing the same text described on the bug description (9.54 KB, application/vnd.oasis.opendocument.text)
2024-04-04 13:03 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2024-04-04 10:37:19 UTC
Description:
Trying to check the spelling on a document set up as Spanish language by default but it contains some English words marked as such doesn't find obvious errors like this:
¿Quien le escribio? It should detect the lack of accentuation in Quién and escribió.

I doesn't work running the spellchecker from F7, neither the spellcheck while writting. 

Steps to Reproduce:
1. Create a new document, set the language for the whole text as Español-España
2. Be sure the automatic spellchecking is active
3. Write ¿Quien escribio?. 
4. Tried F7 to spellcheck the document, it opens but shows No Language at the top and does not detects the spell errors.
5.- Tried applying a style with language Español on it and even select the line of text ans select Español as the language for it.


Actual Results:
The spellcheck while writing does not suggest "¿Quién " or "escribió?"

Expected Results:
Get a simple text like that correctly accentuated or at least detected with F7.

I've checked the Spanish dictionaries are installed and configured properly on the Tools Options > Helps to Writing.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 1 m_a_riosv 2024-04-04 11:43:11 UTC
Please attach a sample file.
Comment 2 David 2024-04-04 13:03:01 UTC
Created attachment 193491 [details]
Smallest fikle showing the same text described on the bug description

Added the solicited attachment.
Comment 3 RGB 2024-04-04 20:17:53 UTC
[Note: native Spanish speaker here] The different between "quien" and "quién" is grammatical, not orthographic (both are correct in the right context), while "escribio" *is* an orthographic error: that's why the spellcheck finds the second problem but not the first one. You need to install a grammar checker such as LanguageTool in order to detect the "quien" problem. 

[If this solves the issue, please change the status to RESOLVED, NOTABUG]
Comment 4 Stéphane Guillou (stragu) 2024-04-05 02:15:41 UTC
Agree with RGB here, the basic spellchecker accepts "quien" because the unaccentuated pronoun does exist: https://www.rae.es/dpd/quien
"escribio" is underlined in red as expected.
(using the Spanish dictionary from https://github.com/sbosio/rla-es, version 2.8)

Checking for grammar rules requires extra tools. I have LanguageTool installed, and it does underline "quien" in blue, with the suggestion:

"Si es interrogativo, se escribe con tilde."