seo

hreflang and multilingual sites on AI answer surfaces

What hreflang does and doesn't do according to Google, where canonicals and hreflang collide, and how to make each language version answer on its own.

A multilingual site asks a crawler to do something harder than read a page: it asks it to understand that five URLs are the same page in five languages, and to show each reader the right one. On classic search results, hreflang is how you say that. On AI answer surfaces, the question is whether any of that annotation survives, and what happens to an answer when the system that writes it reads one language and responds in another.

Some of this is documented and much of it isn’t. Google documents hreflang in detail, and its AI features use the same eligibility rules as Search. OpenAI, Anthropic, and Perplexity document nothing about language annotations at all. This post separates the two, covers the hreflang and canonical rules that most often break, and then turns to the part you fully control: making each language version a complete, answerable page in its own right.

Key Takeaways

  • Google supports hreflang in HTML, HTTP headers, or sitemaps, and treats the three as equivalent. Every version must list itself and all others, with return links, or the annotations may be ignored.
  • Google does not use hreflang or the lang attribute to detect a page’s language. It reads the visible content.
  • Point each language version’s canonical at a page in the same language. A cross-language canonical asks Google to drop the version you annotated.
  • No AI vendor outside Google documents reading hreflang. Make every language version stand alone: translated answer blocks, translated headings, and structured data in the page’s language.

What does hreflang tell Google?

It tells Google which URLs are language or regional versions of the same content, so it can show the right one to each searcher. Google’s localized versions documentation sets out the rules:

RuleWhat Google’s documentation says
MethodsHTML <link> tags, HTTP headers, or XML sitemaps, “equivalent from Google’s perspective”; using more than one adds nothing
Self-referenceEach version lists itself as well as every other version
Return links”If two pages don’t both point to each other, the tags will be ignored”
CodesISO 639-1 language, optionally with an ISO 3166-1 Alpha 2 region; “You can’t specify the country code by itself”
Fallbackhreflang="x-default" for a page such as a language selector, used when no listed language matches

Two statements in Google’s documentation correct common assumptions.

First, hreflang doesn’t declare a page’s language. Google says it “doesn’t use hreflang or the HTML lang attribute to detect the language of a page,” and its multi-regional sites guidance says it uses visible content, not “code-level language information such as lang attributes, or the URL.” A German URL with English body copy is an English page as far as language detection goes, whatever the annotations say.

Second, translations aren’t duplicates. Google says localized versions “are only considered duplicates if the main content of the page remains untranslated.” A page with only its navigation translated is still a duplicate of the original. The same guidance warns that translating only the boilerplate while keeping the main content in one language makes a poor experience.

What about AI answer surfaces?

On Google’s AI features, the documented rules are Search’s rules. Google’s AI features documentation says a page must be “indexed and eligible to be shown in Google Search with a snippet,” with “no additional technical requirements.” It doesn’t mention hreflang, languages, or countries. So the honest reading is: hreflang affects which version Google indexes and treats as canonical, and that affects which version is eligible; Google doesn’t document anything beyond that. AI Overviews eligibility: every technical requirement covers the full eligibility list.

Outside Google, nothing is documented. OpenAI’s bot documentation, Anthropic’s crawler article, and Perplexity’s bot guide describe user agents and robots.txt controls, and none mentions hreflang, language, locale, or canonicals. Whether those systems read hreflang, prefer a language version, or cite a page in one language when answering in another is not something any of them has published.

That gap decides the strategy. You can’t rely on an annotation to route a system to the right language version if the system hasn’t said it reads the annotation. What you can rely on is the page: if each language version is complete and unambiguous on its own, it’s a good source in its language regardless of what the system does with the cluster.

Where do canonicals and hreflang collide?

When a language version’s canonical points at a different language. This is the most common international configuration error, and it sends two contradictory signals: hreflang says “this German page is the German version,” and the canonical says “the real page is the English one.”

Google’s canonicalization documentation is direct about the fix: for localized pages, “make sure to specify a canonical page in the same language, or the best possible substitute language if a canonical page doesn’t exist.” It also says Google “prefers URLs that are part of hreflang clusters,” and that rel="canonical" annotations carrying an hreflang attribute “are not used for canonicalization.” Use rel="alternate" with hreflang for the language relationship, and a plain self-referencing or same-language canonical for canonicalization.

The other collisions to look for:

  • A canonical pointing at a redirect or a non-200 URL. The cluster then references a URL that isn’t the page. Status codes, redirects, and canonical drift on AI surfaces covers the general case.
  • Language detection by redirect. Google’s multi-regional guidance says to avoid automatically redirecting users based on perceived language, because it can stop users and crawlers from seeing every version. A crawler that’s always redirected to one language may never fetch the others.
  • Language by cookie or script. Google recommends a separate URL for each language version, rather than switching content with cookies or browser settings. Content swapped in by JavaScript after load has the additional problem described in JavaScript content and what never makes the trip.
  • Sitemap annotations that disagree with on-page annotations. Google says the three methods are equivalent and using more than one adds nothing, so pick one and generate it from one source of truth.

How should each language version answer on its own?

Completely, in its own language. A language version is a page, and every page-level answer-readiness rule applies to it separately:

Translate the answer, not just the article. The first sentence under each heading should answer that heading in the target language. Translation often breaks this: a direct English opening becomes a longer, hedged sentence in another language, or the translator reorders the paragraph so the answer moves down. Re-check each version’s answer blocks against the method in The 40–60 word answer block, and accept that the word range is a guideline for English that may not transfer exactly to other languages.

Translate the headings as questions people ask. A literal translation of an English question heading may not be how a native speaker would ask it. Use the phrasing that appears in that market’s Search Console queries for the page.

Localize the facts, not just the words. Prices in the local currency, units in the local system, dates in the local format, and local contact details where they differ. A Spanish page that quotes a US-dollar price is a correct translation and an unhelpful answer.

Translate the structured data. JSON-LD is part of the page, and it should describe the page in the page’s language. That means translated name, headline, and description values, local prices and currencies in Offer markup, and the inLanguage property, which schema.org defines as “the language of the content” and recommends filling with an IETF BCP 47 code. Markup left in English on a French page describes a page that isn’t there. The schema stack that matters for AEO and GEO covers which types to carry.

Set lang correctly anyway. Google says it doesn’t use the attribute for language detection, but browsers, screen readers, and translation tools do, and it costs one attribute. GEOBee’s SEO lens checks for html lang for that reason.

How do you audit hreflang and language versions?

By hand, start with one cluster. Pick an important page and open each language version. For each, view source and list the hreflang annotations, then check: does every version list itself and every other version? Does every target URL return 200 and carry a matching set of annotations back? Is the canonical self-referencing or same-language? Is the visible body copy actually in the declared language, including the answer block in the first screen?

Across a site, without a terminal: most desktop crawlers extract hreflang annotations and report missing return links, and a custom extraction rule for link[rel="alternate"][hreflang] gives you the raw values to check in a spreadsheet if yours doesn’t. Add the canonical and the html lang value as columns, then sort for rows where the canonical’s language differs from the URL’s. In Search Console, segment the Performance report by country and compare which URLs receive impressions in each market; a market served mostly by another language’s URL is a cluster that isn’t working. If you annotate in sitemaps, check them in the same pass; Sitemaps in AI search covers the rest of what to look for there.

If you’d rather script the check, any HTML parser can pull the alternate links from each URL and compare them pairwise. The table it produces is the same one the spreadsheet method builds.

Then read the content. Annotations can be perfect on a cluster where three of five versions open with an untranslated hero and an English answer. That’s the part no annotation fixes and the part every answer system reads.

GEOBee scores each language version as its own URL, including html lang, answer-block, heading, and structured-data signals, so a version that lost its answer in translation shows up next to the one that kept it. Download GEOBee and run the 7-day trial across your language folders.

On this page