GEO Ready SEO AI search readiness
Quick win · 2 min · site-level check

Declared language

Declared language. <html lang> tells engines which language the page is in. A Czech or Indonesian page declared as en-US is matched against English queries, judged by English quality models, and can be skipped as a language mismatch.

Key takeaways

  • Check: Declared language is a site-level check in the quick win group.
  • Fix: Static sites: set lang="cs", lang="id", lang="hi" etc. in the HTML template.
  • Not this: Region codes you do not mean (en-GB on an Indian English site is fine; en-US on Czech is not).
  • Effort: 2 min, site-level check; the audit drafts the fix from your own page.

Why does “Declared language” matter?

It is the single cheapest fix on this list and one of the most common mistakes on non-English WordPress sites.

At a glance
CheckDeclared language
Layersite-level check
GroupQuick win
Typical effort2 min
Weight in the score1 on a scale of 1 to 3
Checked bythe website, the Chrome extension and the WordPress plugin (same analyser, 69 checks)

How do you fix “Declared language”?

  1. WordPress: Settings → General → Site Language. Set it to the language you write in; the theme then outputs the right lang attribute.
  2. Static sites: set lang="cs", lang="id", lang="hi" etc. in the HTML template.
  3. If the site has several languages, each page declares its own and hreflang links the versions.

What should you not do?

  • Leaving the theme default (en-US) because the admin interface is in English. The attribute is about the content, not the dashboard.
  • Region codes you do not mean (en-GB on an Indian English site is fine; en-US on Czech is not).

Example

<html lang="cs"> for Czech content, <html lang="id"> for Indonesian, <html lang="hi"> for Hindi.

Frequently asked questions

How long does it take to fix "Declared language"?

About 2 min. It needs no developer: an editor can do it in the page editor.

Is "Declared language" checked per page or for the whole site?

It is a property of the whole site, so fixing it once covers every page. The website, the Chrome extension and the WordPress plugin run the same check.

What is the most common mistake with "Declared language"?

Leaving the theme default (en-US) because the admin interface is in English. The attribute is about the content, not the dashboard.

Sources

About the author

Toofan Singh, Director, Aphrodyte IT Solution Pvt Ltd. Toofan Singh runs AI-search (GEO) work at Aphrodyte IT Solution in India and maintains the rubric behind this site, the Chrome extension and the WordPress plugin. He has built and audited content sites in English, Czech, Indonesian and Hindi since 2015. More about this site.

Related checks

Does your page pass this check? The audit runs all 69 and drafts the fix for you.