Skip to content
CitedByAudit a site

Checks / Titles, headings and schema

Declared language differs from the text

The page says it is in one language (html lang) but most of its text is in another, so engines and assistants may file it under the wrong language and show it to the wrong readers.

lang_mismatch · Titles, headings and schema · Notice

What triggers it

A page of 100 or more words has text that is clearly in another of our five languages than its lang attribute declares: its common words reach 12% of the text and at least 1.6 times the declared language's share.

What to change

Translate the page or correct html lang and the hreflang entry to the language the text is really in.

Example

HTML to put in the page:

<html lang="fr">

How to confirm the fix

  1. View Source: <html lang> names the language the visible text is written in
  2. Press 'Re-check 1 page'

How common it is

We have not measured how common this is on a sample of sites. Counts appear here when a study covers it.

About this check

Check IDlang_mismatch
Report sectionTitles, headings and schema
SeverityNotice
How it is decidedMeasured: read directly from the page or the server's response.
AddedVersion 9, 24 October 2026
StatusMeasured in every report
Report gives the codeNo, the fix is described in words

Related checks

See whether it applies to your site

Paste your address and we crawl up to 10 pages and show every issue we find, with its fix. No account, no card.

Every plan crawls up to its page limit and lists these checks with the fix: plans.

How an audit works: method