Skip to content
RankSi

Technical check

Declare the language of your pages

The language attribute helps search engines, browsers, translation tools and screen readers treat your text correctly.
Impact
Low
Effort
Low
Confidence
High
Looks at
Each page

Why it matters

The language attribute helps search engines, browsers, translation tools and screen readers treat your text correctly.

How to fix it

  1. Add a lang attribute with a valid language code to the <html> tag of every page, such as <html lang="en">.
  2. Use a hyphen, not an underscore (en-US, not en_US).

On your website platform

How RankSi checks it

  • Measured: RankSi checks it directly on your pages.
  • It counts for 3% of the Technical area, and that area is 30% of the RankSi Score.
  • The result comes from a fixed rule, not from an AI model, so the same crawl always gets the same answer. A new scan shows your site as it is that day. Fixing it does not guarantee a ranking: it removes an obstacle.

Read how the score worksSee this in an example report

Go deeper

Does your website pass this check?

A free audit runs all of them and ranks what to fix first.