What AuditX checks
The scan reads the hreflang link tags on the page you scanned and opens up to 5 of them. It never opens the page itself again, opens each address only once, and takes the real language versions first and x-default last. Each address gets up to 8 seconds, the scan reads up to 500,000 characters of its HTML without running scripts, and it keeps the first 20,000 characters of visible text. Entries with an x-default value or an invalid language code are ignored, and so are entries that point back to the page you scanned. Every other address that could be opened gets two tests. First, when the page you scanned declares a valid language on the html tag, the tag names a different base language, and both pages have at least 60 words, the scan compares the different words of three or more letters on the two pages. When 85 percent or more of the words found on either page appear on both, the address counts as a copy of your page under another language tag, and it skips the second test. Second, the scan guesses the language of the text by counting common small words. It knows seven languages only: English, Dutch, German, French, Spanish, Italian and Portuguese. It needs at least 120 words, common words making up at least 10 percent of the text, and a clear lead over the runner-up language. If it cannot decide, the address is left out of the verdict. If the guess differs from the first part of the tag (nl for nl-BE, for example), the address counts as a mismatch. There is one exception: when the tag is a language without a word list that is close to the guessed one, such as Catalan read as Spanish or Afrikaans read as Dutch, the address is left out of the verdict. The check warns when at least one address is a copy or a mismatch, and the message names up to 3 of each. It passes when at least one address could be judged and none was flagged, and the message says how many were checked and how many had too little text. It is an info note, which does not lower the score, when the page has no usable hreflang tags, when every tag points to the page itself, or when every opened address had too little text. When none of the addresses could be opened, it is an info note marked as not measured. The scan compares one page with its alternates. It does not judge the rest of the site and it does not check return links, which other checks cover. A warning counts toward the indexability score at 40 percent of what a fail would cost.
Why it matters
Google Search Central says localized versions of a page are only considered duplicates if the main content of the page remains untranslated. An address tagged as another language but still holding the same words is the untranslated case.
Google says it uses the visible content of a page to decide its language, not code-level information such as lang attributes or the URL. The words on the page decide what language it counts as, so a tag that claims a different language does not change that.
How to fix it
- Open each address the report names and read it. Check whether the text is really in the language of its hreflang tag.
- If a script translates the page in the browser, the scan did not see that text. Have the server send the translated text and its lang attribute, because not every crawler runs scripts.
- If the page is a copy, have it translated into the declared language and publish the translation at that address.
- If no translation exists yet, remove that hreflang tag until one does, so the tag only names pages that are truly in that language.
- After the change, make sure every language version lists itself and all the other versions, as Google asks.
<link rel="alternate" hreflang="nl" href="https://example.com/nl/prijzen/">
<link rel="alternate" hreflang="de" href="https://example.com/de/preise/">
<!-- the German address must be written in German -->
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: Localized Versions of your Pages
- Google Search Central: Managing Multi-Regional and Multilingual Sites