How to avoid the warning ‘Missing hyphenation data’?

How to avoid the warning
‘Missing hyphenation data Please install the hyphenation package for locale “fr”’?
I don’t want to install it.

Windows10.

Version: 7.1.0.1 (x64)
Build ID: b585d7d90ab863bf29b2d110c174c0c2a98f3ee4
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-CA (en_US); UI: en-US
Calc: threaded

format *.odt

1 Like

Please edit your question to provide the following information: OS name (I bet you’re under Windows), LO version, format you saved your document in (I bet for .docx).

Have you read the following questions?

Windows10. LO 7.1.0.1. *.odt
First ref is File-not-found; other two are irrelevant.

What’s the point of your posting actually? You use a beta (or still an alpha?) build, so what do you expect?

‘You use a beta (or still an alpha?) build’
No. I use
Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-CA (en_US); UI: en-US
Calc: CL

THis is applicable to 7.0.5.2 and some previous releases as well. Still looking for a solution.

Has your document ever been stored/formatted with Google Docs?

This is tdf#137742

I experienced that also and it seems that nobody here understands what it is about.
I finally found out: there is a paragraph style that got the hyphenation property activated.
Start from the Default paragraph style and make sure that in the tab Text flow, the Hyphenation option is unchecked.

I noticed it occurred after trying (for a short time) LO 7.1. There may be a little regression because it happened suddenly on files only created/edited with LO.

1 Like

Thanks for the suggestion but very often the cause is some damage during export from Google Docs. And frequently also, the message requests a hyphenation dictionary for a language not used in the document. This is why it is very important that OP’s give the full history of the file.

Oh please don’t start with that. I just told that it can happen with a file that is 100% LO.
Maybe there are other corner cases but it can also happen with LO only. I experienced that. Period.

I already quit that Q&A system because of you so I’ll limit my interaction with you ajlittoz.

I only registered (again) to answer the question because I experienced that, found that it was a quite recent issue and managed to fix it for my documents.

So thanks for your comment but please wait for OP’s feedback, there is no point discussing it further until he confirms if it’s fixed or not.

@Hagar_Delest: I succeeded in reproducing the behaviour but it requires to crash LO. It is probably caused by a malfunction in the recovery. I now get the warning systematically on document open for an installed language. Unchecking the auto-hyphenation box does not clear the message on later opens.

Have you experienced a Writer crash when working on your document?

It may be possible, don’t remember.

What I DO know is that the paragraph style got this options checked WITHOUT my approval. and unchecking it fixed the issue for me. I opened that file several times after doing this SINGLE change and it works fine. I don’t care if it comes from a crash recovery or not.

The context could help the developers to find the cause and fix it once for all.

Then the discussion belongs to the bug report.

See tdf#137742. I attached my faulty document. Attach yours to your answer so that both can be compared.

I cannot attach the document (sensitive data). I can explain however how I found it: I noticed that all documents were not affected. Hence it was inside the document. Then, based on the bug report, I thought that it was something with the language configuration. So I took my file and deleted 50% of its content as long as the warning was displayed at reload. I ended up in a mere sentence. At this point, I checked the styles.xml and looked for anything related to language/hyphenation. I found out that a paragraph style had a hyphenate=“true” tag instead of false. I changed that tag, reopened the file and the warning was gone. I loaded the original file, checked what was the option in the dialog for that paragraph style, unchecked that options (that I never activated), saved, et voilà, no more warning.

Since it is reduced to a single sentence, it should not be that sensitive. If you replace the sentence by Lorem ipsum (no need to have several paragraphs, just a few words are enough), does it still happen? In this case the document should be “attachable”.

The point is that I already fixed the file, have made a backup in the mean time so don’t have any copy of the file with the issue anymore. What is to be taken from all that is that for an unknown reason the tag fo:hyphenate=“false” had been set to true for the paragraph style declaration: <style:style style:name=“Standard” style:family=“paragraph” style:class=“text” style:master-page-name="">.

@TAB, any news?