Preventionlabs
How It Works AI agents Pricing Fix Guides Get started

Is my website's language set correctly?

Updated 2026-10-17

Short answer: the lang attribute on your page tells screen readers how to pronounce it, tells browsers whether to offer translation, and helps search engines. Missing or wrong, it causes odd pronunciation and unwanted translate prompts.

How to check it yourself

  1. View your page's source and look at the first tag: <html lang="...">.
  2. It should match the page's language, for example en-AU or en.
  3. Set it in your theme or site template so every page gets it.

Why it matters

The lang attribute tells browsers and screen readers what language the page is in. Screen readers use it to pick the right pronunciation, browsers use it to offer translation, and search engines use it to show the page to the right audience. A missing or wrong value makes all three guess.

Common causes

  • The theme's <html> tag has no lang attribute.
  • It's set to the wrong language, often en-US on a site written for another region or language.
  • The site language setting in the CMS was never changed from the default.
  • A multilingual site uses the same lang value on every language version.

What Preventionlabs shows

Every report's page basics check confirms the page language is set, alongside link previews, structured data, the favicon and other upkeep checks.

Price

First report free, no card needed. Then A$50 a month, up to 10 domains.

Run your first report free

More questions it answers

  • Why does my link preview look wrong?
  • Does my website have structured data?
  • Why is my favicon not showing?
  • All questions
© 2026 Preventionlabs. All rights reserved.
Home Terms Privacy

More questions it answers

  • Is a secret API key exposed in my website code?
  • Is phpMyAdmin or a debug tool open to anyone on my site?
  • My missing pages return 200 OK instead of 404
  • All questions