Page language and language declarations
Prioritise a wrong published translation or a missing/misleading lang value that affects interpretation of important content.
What the findings mean
PubSEO compares a language assessment of the text with the declared page language and records absent or inconsistent declarations. Html lang describes the text’s language. Content-Language describes the intended audience and may legitimately contain several languages or differ from the text.
What the evidence cannot establish
Automatic language detection is uncertain for short text, names and mixed-language pages. Hreflang identifies alternative versions and does not replace lang. A difference between Content-Language and lang is not automatically a contradiction because their meanings differ.
How to prioritise
Prioritise a wrong published translation or a missing/misleading lang value that affects interpretation of important content.
What to do
- Read the actual main text and compare it with html lang and any relevant language declarations.
- Correct the language value or an incorrectly published translation. Check CMS language selection, content fallbacks and translation relationships.
- Use a valid language tag for the main text and mark substantial passages in another language where needed. Coordinate xml:lang if used.
- Keep correct audience-language information, names and intentional quotations rather than forcing every declaration to the same value.
Check the result
Check the published lang value and text after JavaScript has run, and verify that the intended translation remains visible. Review the corresponding hreflang relationships separately.
Need help with a particular finding?
Contact us →