Using French LibreOffice, since v7, when opening a calc file, if a cell contains text with a line break (ctrl+enter), it seems the English autocorrect is used, instead of french.
After editing the cell (keeping the line break), it switches back to french, until next opening of the file.
Steps to Reproduce:
1. Create new calc file, insert french text with return carriage ("Bonjour, ceci est un [return carriage] texte en français", for example)
2. Save file and close LO
3. Open the file saved to see autocorrect in english
4. Edit the cell to see the switch back to french
In the cell wich contains french text and return carriage, every french word is underlined in red.
In a cell wich contains english text and return carriage, nothing is underlined
French spelled words shouldn't be underlined
English word should be underlined
User Profile Reset: Yes
OpenGL enabled: Yes
Version: 18.104.22.168 (x64) / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
I would expect it to be what https://git.libreoffice.org/core/+/dd25fd6bf9b9637d4f1efcfcc642efa4be7f62b1 fixed recently.
Created attachment 179073 [details]
Initial creation of the file, with correct underline
Created attachment 179074 [details]
Wrong autocorrect after re-opening
Szymon Kłos committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":
tdf#148160 Use correct language for spellchecking in calc
It will be available in 7.3.3.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Bug seems to be corrected in the latest 7.3.3 daily build.
Thanks a lot guys