A family of Microsoft word processing software products for creating web, email, and print documents.
I began with this HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Language Tagging Example</title>
</head>
<body>
<h1>Welcome to Our Website</h1>
<p>This paragraph is in English, which is the default language of this document.</p>
<!-- Paragraph tagged for a different language (Spanish) -->
<p lang="es">Este párrafo está escrito en español.</p>
<!-- Inline span tagged for a different language (French) -->
<p>The French phrase for "that's life" is <span lang="fr">c'est la vie</span>.</p>
<!-- New inline span tagged for a different language (Traditional Chinese) -->
<p>The traditional greeting used in Taiwan and Hong Kong is <span lang="zh-hant">你好</span>.</p>
</body>
</html>
Next, I opened the HTML file using Word 2021 (desktop, not web). The proofing language was correctly set to English, and the Spanish and French text were set to Spanish and French, respectively. However, since I did not have a Traditional Chinese language installed, the Chinese text was tagged as English. Finally, I save the Word doc as PDF. When I opened the PDF using Acrobat XI, except for the Chinese text, the other text was tagged correctly.
some of the languages make it over to the PDF when I save this PDF and some do not.
This is likely caused by not having the proofing language installed in Word. If the language is not installed, Word will tag the text as English (default). Note: Not all authoring languages have proofing tools.
The 365 web version does not have all the bells and whistles as the desktop version, and it very well may behave differently.