[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 31 09:59:22 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=137742
--- Comment #28 from Eike Rathke <erack at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210331/93d109dd/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list