<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILSAVE DOCX and DOC: Language information lost upon saving text"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=125411#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILSAVE DOCX and DOC: Language information lost upon saving text"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=125411">bug 125411</a>
from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
<pre>With your example, having unzip'ed the stored .docx document and inspecting the
contained word/document.xml file I spot nothing wrong:
<w:p><w:pPr><w:pStyle
w:val="Normal"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>This sentence
is in English.</w:t></w:r></w:p><w:p><w:pPr><w:pStyle
w:val="Normal"/><w:rPr><w:lang
w:val="de-DE"/></w:rPr></w:pPr><w:r><w:rPr><w:lang
w:val="de-DE"/></w:rPr><w:t>Diesen Satz ist in
Deutsch.</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:rPr><w:lang
w:val="da-DK"/></w:rPr></w:pPr><w:r><w:rPr><w:lang
w:val="da-DK"/></w:rPr><w:t>Denne sætning er på dansk.</w:t></w:r></w:p>
The paragraphs are clearly tagged with <w:lang w:val="de-DE"/> and <w:lang
w:val="da-DK"/>
Having selected only the words within the sentences (excluding the . dot) to
force a non-paragraph attribution there's
<w:p><w:pPr><w:pStyle
w:val="Normal"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>This sentence
is in English.</w:t></w:r></w:p><w:p><w:pPr><w:pStyle
w:val="Normal"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr><w:lang
w:val="de-DE"/></w:rPr><w:t>Diesen Satz ist in
Deutsch</w:t></w:r><w:r><w:rPr></w:rPr><w:t>.</w:t></w:r></w:p><w:p><w:pPr><w:pStyle
w:val="Normal"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr><w:lang
w:val="da-DK"/></w:rPr><w:t>Denne sætning er på
dansk</w:t></w:r><w:r><w:rPr></w:rPr><w:t>.</w:t></w:r></w:p>
Nothing wrong either, IMHO (someone with more OOXML WordprocessingML experience
may want to verify).
Reloading the .docx into LibreOffice also works as expected, preserving the
language attribution
For reference see the OOXML specification ECMA-376-1:2016 17.3.2.20 lang
(Languages for Run Content) and 22.9.2.6 ST_Lang (Language Reference).</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>