https://bugs.documentfoundation.org/show_bug.cgi?id=137742

--- Comment #28 from Eike Rathke <er...@redhat.com> ---
(In reply to ajlittoz from comment #26)
> I looked at the .fodt version but did not see anything obvious as I am not
> familiar with the details of encoding. However if I change fo:language="fr"
> to fo:language="fr_FR", there is no longer any message on open. The trick
> works also for uninstalled language.
fo:language="fr_FR" is wrong though, the fo:language attribute is to contain
*only* the language.

> When I looked at its XML, the fo:language attributes were simply
> set to "fr" without country code (which is in attribute fo:country=…).
Which is correct.
fo:language="fr" fo:country="FR" denotes the fr-FR language tag.


> I'm attaching the faulty file for analysis. Its paragraph styles have been a
> bit modified after the crash but the mishap is still there.
All four <style:text-properties> have both fo:language="fr" fo:country="FR"
attributes. There is no fo:language="fr" alone.

The missing hyphenation data messsage when opening the document is reproducible
for me, though understandably because I don't have any French spell-checking or
hyphenation installed.

If it happens also if French hyphenation data is installed then it's likely not
because the document would contain wrong language attribution but something
else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to