What AuditX checks
After the crawl, the scan compares pages that declare a language. The crawl reads up to 20 pages, or up to 8 when the site needs a browser to show its content. A page is used only when its lang attribute looks like a language code (two or three letters, with an optional region such as nl-BE) and its text has at least 60 words. It then compares every pair of such pages whose base language differs, so nl and nl-BE are the same language and are not compared. The comparison counts the distinct words of 3 or more letters that two pages share, divided by all the distinct words of the two pages. A pair with a score of 0.85 or higher (85 percent) is a finding. The check is an info note, which does not lower the score, when fewer than 2 different languages could be compared. If the crawl did not finish, it is an info note marked as not measured. It warns when at least one pair is found and names up to 3 pairs with their addresses, declared languages and percentage. Otherwise it passes. The check does not detect the real language of the text, so it will not find a page that is translated badly or a page with a wrong lang attribute and different wording.
Why it matters
Google Search Central describes localized versions as the same content translated or adapted for a language or region. A page that claims to be Dutch but repeats the English text is not a localized version.
W3C Internationalization guidance explains that the lang attribute tells browsers, search engines and assistive technology which language the text is in. If the attribute and the text disagree, a screen reader can pronounce the text wrongly.
How to fix it
- Open both pages named in the report and compare them. If one is a copy of the other, it was not translated.
- Translate the page into the language its lang attribute declares, or hide the language version until a real translation exists.
- If the two addresses were never meant to be separate language versions, redirect the copy to the original or give it a canonical tag that points to the original.
- Check the translation plugin or CMS setting that creates language versions. A setting such as copy content to all languages often causes this.
<html lang="nl">
<!-- the text in the body must be Dutch -->
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my siteSources
- Google Search Central: Managing multi-regional and multilingual sites
- W3C: Declaring language in HTML