Use Valid Language Codes for Better SEO and Accessibility

Internationalization Analyzer

What is this warning?

You've told browsers and search engines what language your page is in, but the code you used isn't standard. This can confuse them, potentially hurting your SEO and causing issues for screen readers that help visually impaired users. It's a simple fix that makes your site more accessible to everyone.

How to Fix This Issue

How to Fix It

The Problem

Using an incorrect or non-standard language code.

<html lang="eng"> <!-- 'eng' is not a valid code -->

The Solution

Use the standard two-letter ISO 639-1 code for the language. For regional variations, add the country code.

<html lang="en"> <!-- For English -->
<html lang="en-GB"> <!-- For British English -->

Why This Works

Standard language codes are universally understood by browsers, search engines, and assistive technologies. This ensures your content is correctly processed and delivered to the right audience.

SEO Impact

This issue can affect your site's search engine rankings and user experience. Addressing it promptly helps ensure optimal performance and visibility in search results.

Automatic Detection

Black SEO Analyzer automatically checks for this warning during site analysis, along with hundreds of other technical SEO issues.

Ready to Unlock Your Site's Full SEO Potential?

Choose the license that fits your needs and start getting the deep, actionable insights you deserve.