Is it actually an error?

Google goes by the browser's language settings. If the browser is set to English, for example, Google may show the English page even when the search comes from Spain. This is intended behavior.

Your own search is therefore only a first clue. Search Console is more reliable (next section): there you can see which page Google has chosen as the original, regardless of where the search comes from and which browser is used.

See what Google sees

The best view is the URL Inspection tool in Google Search Console. Enter the address of the expected language version. “User-declared canonical” shows the address your page names as its original; “Google-selected canonical” shows the address Google has chosen as the original.

If Google names the address of another language version here, it is treating the expected language version as a duplicate and prefers to show the original. The most common reasons are in the table below. Google says it does not have to use the declared canonical, but takes it into consideration.

Also open the address of the expected language version directly. If you end up on another language version, your website is redirecting (see “Automatic redirects”).

The possible causes at a glance

CauseHow to recognize itFinding in the scan report
Expected language version not translated, or only partlyMain content, title or description in the source language“Main content is identical to the source language”, likewise for title, meta description and heading; “Content is not in the declared language”
Canonical link points to another language versionPage source: <link rel="canonical">; URL Inspection tool“Canonical points to a different language”
Return link missingCompare the hreflang tags of both pages“Linked page does not link back”, “Page does not reference itself”
Invalid language codeRead the language codes in the hreflang tags“Invalid hreflang language code”
hreflang tag points to a redirect or a missing pageOpen the address from the hreflang tag“Linked language version redirects”, “Linked language version is not reachable”
Page source and sitemap name different addressesCompare both“Sources disagree about this language code”
No hreflang tags at allPage source, HTTP header and sitemapNotice “No hreflang links found on this website.”
Automatic redirect by language or locationOpen the address of the expected language version directly; check the settingsThe scan sees it only in part (see “Checking the whole website”)

The expected language version is not fully translated

Google recognizes a page's language by its visible text, not by the lang attribute and not by the address (URL). For Google, language versions are only duplicates if the main content is not translated. If only the menu of a page is translated and the main text is still in the source language, Google sees it as a copy of the original page and shows the original.

Translate the main content, the title and the meta description. Pages that are not translated yet should not be offered as a language version of their own. More: “Texts that are the same as in the source language”.

The canonical link points to another language

The canonical link tells Google which address is the original of a page. If a language version names the address of another version of the same page in another language there, it asks Google to show the other page instead. Google recommends naming a canonical page in the same language.

Each language version should therefore point to itself. More: “Canonical links on multilingual websites”.

The hreflang tags are incomplete or wrong

Google requires each language version to list itself and all other language versions. If two pages do not point to each other, Google ignores the hreflang tags of these pages.

If there is a problem, it is also worth checking the language codes, such as es or es-ES, and whether every address in a hreflang tag can be reached directly, without a redirect. If hreflang tags are in more than one place, for example in the page source and in the sitemap, they must all name the same addresses.

More: “Setting up hreflang correctly”, “Language versions that are unreachable or redirect” and “Contradictory hreflang tags”.

Automatic redirects

Some websites automatically send visitors to a language version, for example based on the browser's language setting or on the location they derive from the IP address. This happens on the server, in a middleware or through a script in the browser.

Google advises against this. According to Google, its crawler usually comes from the USA and sends no language setting. A website that always sends visitors without a language setting, or from the USA, to the same language version, often the English one, may never show Google the other language versions.

Keep every language version reachable at its own address, and offer a language switcher or a notice that visitors click themselves instead.

Checking the whole website

Our website scan checks all language versions together: the hreflang tags from the page source, the HTTP header and the XML sitemap, the canonical links, the language of the content, and whether titles, headings and texts are still the same as in the source language. Up to 100 pages, this is free and needs no account.

Like Google, the scan sends no language setting. So if your server redirects a language version that a hreflang tag points to, the scan reports it. It does not run scripts in the browser, and it does not request your website from the USA. Check redirects made by a script or by location yourself, as described under “See what Google sees”.

After the fix

Google has to fetch the pages again before the search results change. In the URL Inspection tool in Search Console, you can request indexing for individual pages. Then check whether Google accepts the expected language version as its own canonical URL.

Further reading