<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Missing hyphenation data for installed language after Writer crash and document recovery"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=141384">141384</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Missing hyphenation data for installed language after Writer crash and document recovery
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>page74010-sf@yahoo.fr
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=170855" name="attach_170855" title="Recovered document issuing "Missing hyphenation data"">attachment 170855</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=170855&action=edit" title="Recovered document issuing "Missing hyphenation data"">[details]</a></span>
Recovered document issuing "Missing hyphenation data"
Working on <a href="https://ask.libreoffice.org/en/question/286107">https://ask.libreoffice.org/en/question/286107</a>, I tried to reproduce
the "Missing hyphenation data" error for a document which was never stored on
Google Docs as one user complained.
I created a small document with a paragraph typed Italian (it_IT) in its style
definition and another one in French (fr_FR). I have the French language pack
installed but not the Italian one.
Despite all my efforts, I could not reproduce the error. I noticed however
after adjusting indents to cause hyphenation (enabled in style definitions)
that hyphenation did not occur. Words were divided but not as grammar would
tell, suggesting the hyphenation engine was not active.
I checked my package manager for possible missing package but hunspell,
hyphenation for French and French language pack were all ther.
Coming back to the document I started to change wildly Tools>Options>Language
Settings and to observe the effects.
Suddenly, Writer crashed. I don't remember which setting I was playing with at
this moment.
I restarted Writer which offered to recover the document. Yes. As soon the
recovered document was opened, "Missing hyphenation data fr"! I saved the
document as .fodt and looked for "fr".
All styles and paragraphs were tagged fo:language="fr" fo:country:"FR" except
one with "it" and "IT". I changed "fr" to "fr_FR" (perfectly aware it is wrong)
and reopened in Writer. This time message was "Missing hyphenation data it" as
expected.
Back to the .fodt, I reverted "fr_FR" to "fr" and message became "Missing
hyphenation data fr".
In the .odt, I disabled auto-hyphenation in paragraph style definitions and
changed it_IT language for the first paragraph to fr_FR. On reopen, I still get
"Missing hyphenation data fr".
Not being versed in XML encoding, I attach the .odt document but it is a bit
different from the one just recovered.
This bug report was initially a comment in <a class="bz_bug_link
bz_status_NEW "
title="NEW - Google Docs exports only (ambiguous) "en" language tag text attribute"
href="show_bug.cgi?id=137742">bug 137742</a>. Made an original bug
report on Eike Rathke's suggestion.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>