[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Eike Rathke changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |er...@redhat.com |desktop.org | Status|NEW |ASSIGNED --- Comment #35 from Eike Rathke --- I'll see if I can make something out of the known GDocs 'en' case at least.. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #34 from Eike Rathke --- (In reply to Mike Kaganski from comment #20) > Note that the problem is not limited to "en". For example, "fr", "zh", "it" > are also affected: (In reply to Mike Kaganski from comment #21) > "el", "ja", "ka" ... : Those are quite useless though because none of them provided a sample document or answered the question whether their document has been processed by GoogleDocs (except one who claims they didn't but also did not provide a sample document), and the message displayed only the language, not the full language tag; which I fixed with https://gerrit.libreoffice.org/c/core/+/119020 (also for 7-2 and 7-1) -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Xisco Faulí changed: What|Removed |Added CC||xiscofa...@libreoffice.org Keywords||bibisected, bisected --- Comment #33 from Xisco Faulí --- For the record, the brackets started to be displayed after https://cgit.freedesktop.org/libreoffice/core/commit/?id=bde834ee6b0cb43cebece47cac55cc9b80aadc24 author Eike Rathke 2017-03-14 11:52:52 +0100 committer Eike Rathke 2017-03-14 12:48:22 +0100 commit bde834ee6b0cb43cebece47cac55cc9b80aadc24 (patch) treeef3f5ebe8340d0e0392905ec3cfab033953a6425 parent bf63e5a3a6ae458ffe10061c1bcf969a534760c5 (diff) display raw language tags in curly brackets -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #32 from ajlittoz --- (In reply to Eike Rathke from comment #31) > However, I doubt this is even related to the original problem of Google > documents being broken by specifying only a language, could you please > submit another bug for that? Thanks. See bug 141384. -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #31 from Eike Rathke --- However, I doubt this is even related to the original problem of Google documents being broken by specifying only a language, could you please submit another bug for that? Thanks. -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #30 from Eike Rathke --- Fwiw, code pointers for that: Check for hyphenator to output the info message happens in sw/source/core/text/inftxt.cxx line 1496 of SwTextFormatInfo::IsHyphenate() with if (!xHyph->hasLocale(g_pBreakIt->GetLocale(eTmp))) where eTmp is LCID 0x040C (1036) for fr-FR and GetLocale() call correctly results in lang::Locale("fr","FR","") and then in my debug build where I do have French hyphenation available xHyph->hasLocale() returns true and does not complain. The info message in case the locale is not found also only outputs the language, not the full language tag, so that single "fr" there is explained. -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #29 from ajlittoz --- (In reply to Eike Rathke from comment #28) > (In reply to ajlittoz from comment #26) > All four have both fo:language="fr" fo:country="FR" > attributes. There is no fo:language="fr" alone. I was short in my description. The fo:country attribute was there of course. I tried fr_FR in the .fodt of it just to see, even if I knew this was redundant and contradictory with fo:country. > 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. Initially, I "tagged" the first paragraph it_IT because this hyphenation package is not installed. After the crash, to my surprise, the message requested fr, not it. When I changed fr to fr_FR (which is wrong), then the message requested it. > 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. This is why I attached it, being unable to interpret the rest of it. Make a .fodt from the attached document and change the fo:language for one you have installed. Open it in Writer. Does the message still display? -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #28 from Eike Rathke --- (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 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #27 from ajlittoz --- Created attachment 170851 --> https://bugs.documentfoundation.org/attachment.cgi?id=170851=edit Recovered document issuing "Missing hyphenation data" -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #26 from ajlittoz --- 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.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added CC||5s7cigs...@riseup.net --- Comment #25 from Mike Kaganski --- *** Bug 132396 has been marked as a duplicate of this bug. *** -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=13 ||1233 -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=13 ||2396 -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #24 from Mike Kaganski --- *** Bug 136809 has been marked as a duplicate of this bug. *** -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added CC||holme...@live.com --- Comment #23 from Mike Kaganski --- *** Bug 136808 has been marked as a duplicate of this bug. *** -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added CC||tele...@surfxs.nl --- Comment #22 from Mike Kaganski --- *** Bug 137635 has been marked as a duplicate of this bug. *** -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added Severity|enhancement |normal --- Comment #21 from Mike Kaganski --- "el", "ja", "ka" ... : https://ask.libreoffice.org/en/question/293486 https://ask.libreoffice.org/en/question/284727 https://ask.libreoffice.org/en/question/280102 https://ask.libreoffice.org/en/question/298632 https://ask.libreoffice.org/en/question/287776 ... It's pretty annoying to people, and many are affected. I make it "normal" instead of "trivial". -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added OS|Linux (All) |All --- Comment #20 from Mike Kaganski --- Note that the problem is not limited to "en". For example, "fr", "zh", "it" are also affected: https://ask.libreoffice.org/en/question/286107 https://ask.libreoffice.org/en/question/291826 https://ask.libreoffice.org/en/question/289004 -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Mike Kaganski changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=13 ||6808 -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Ming Hua changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=13 ||7635 -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Heiko Tietze changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords|needsUXEval | CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda |.freedesktop.org|tion.org, ||mikekagan...@hotmail.com Severity|normal |enhancement --- Comment #19 from Heiko Tietze --- So let's do the silent conversion. Since we default to en_US (and ship the localization) I would use rather this (surprised that Google defaults to en_GB). -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 --- Comment #18 from Mike Kaganski --- Not to contradict Eike (personally I totally agree with his assessment), just wanted to mention two related discussions, which incidentally show how ambiguous this is - so this basically is expected to support Eike's PoV: 1. In this one, a random person argues that for "Guessing the missing parts" problem, *the rule is to select the "original country" of the language. The exceptions are mostly based on population* (mentioning en, pt, and zh as those exception cases). https://stackoverflow.com/questions/2500066/if-you-have-an-application-localized-in-pt-br-and-pt-pt-what-language-you-shoul 2. This one shows that the first fallback for English locales is chosen by Google to be "International English variant", which is en-GB: "After opening a bug report on Google, defaulting to en_GB and not default strings.xml, they mentioned that this in the intended behaviour for Android N above". https://stackoverflow.com/questions/45511769/localization-for-canada-defaults-to-uk-should-default-to-us -- 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
[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute
https://bugs.documentfoundation.org/show_bug.cgi?id=137742 Eike Rathke changed: What|Removed |Added Summary|Language Settings not saved |Google Docs exports only |to profile |(ambiguous) "en" language ||tag text attribute -- 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