[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:27:56 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=137742
--- Comment #26 from ajlittoz <page74010-sf at yahoo.fr> ---
This might help to find a solution.
While wotking on AskLO question 286107, I made an experiment with Writer
7.0.5.2 Linux 5.11 VCL kf5 to try and understand when the message was issued.
Some users complain that the misbehaviour happens on standard .odt files having
never seen Google Docs.
A suggested solution was to uncheck the auto-hyphenate box in the paragraph
style Text Flow tab.
I could not create the misbehaviour at first. But after having tampered a lot
with Tools>Options, I made Writer crash. After the crash, I let the
auto-recovery rebuild the document. When done, the message was present although
the language pack is installed and hunspell modules too.
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.
Where I am puzzled is the fact that I created then a fresh document from
scratch, saved it and made sure it opens without "missing hyphenation data"
message. When I looked at its XML, the fo:language attributes were simply set
to "fr" without country code (which is in attribute fo:country=…).
So the cause of the problem may be somewhere else.
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.
--
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/c828584f/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list