Shipping /fr/, /de/, or /ja/ routes in your app doesn't guarantee Google or AI search engines (ChatGPT, Perplexity, Google AI Overviews) will ever index or cite them.
In fact, most multilingual indexing failures come down to four subtle technical bugs in <head> tags, robots.txt, and structured data. Here is the engineering checklist to audit and fix them.
1. Self-Referencing Canonicals (The #1 Multilingual Bug)
A classic mistake is pointing every translated page's <link rel="canonical"> back to the English version:
<!-- BAD: tells search engines & AI crawlers to ignore /fr/pricing --> <link rel="canonical" href="https://example.com/pricing" /> When you do that, search engines treat /fr/pricing as a duplicate of /pricing and drop it from the index. Each language version must canonicalize to itself:
<!-- GOOD: on https://example.com/fr/pricing --> <link rel="canonical" href="https://example.com/fr/pricing" /> 2. Reciprocal hreflang Clusters + x-default
hreflang is bidirectional: if English links to French, French must link back to English and to itself, plus x-default:
<link rel="alternate" hreflang="en" href="https://example.com/pricing" /> <link rel="alternate" hreflang="fr" href="https://example.com/fr/pricing" /> <link rel="alternate" hreflang="de" href="https://example.com/de/pricing" /> <link rel="alternate" hreflang="x-default" href="https://example.com/pricing" /> Common pitfalls to automate in CI:
- Using invalid codes (e.g.,
ukinstead ofen-GB, orjpinstead ofja). - Missing return links on localized pages.
- Pointing
hreflangto a 301/302 redirect ornoindexURL.
You can quickly validate live clusters with the free MultiLipi Hreflang Checker.
3. Check robots.txt for AI Crawlers—Not Just Googlebot
Traditional SEO only checks Googlebot and Bingbot. If you want your localized docs and product pages retrieved by AI answer engines, verify you haven't accidentally blocked AI user-agents (or blocked JS/CSS assets needed to render localized text):
User-agent: OAI-SearchBot Allow: / User-agent: PerplexityBot Allow: / Sitemap: https://example.com/sitemap.xml Also verify server-side rendering (SSR) or pre-rendering for translated routes: if translations only load client-side after an async fetch, many lightweight crawlers will index the untranslated fallback string.
4. Localize JSON-LD inLanguage and Entity Metadata
AI answer engines lean heavily on structured data to disambiguate entities across markets. Keep JSON-LD localized per route—including inLanguage, localized name/description, and regional priceCurrency:
{ "@context": "https://schema.org", "@type": "SoftwareApplication", "name": "Example App", "inLanguage": "fr", "url": "https://example.com/fr/pricing", "offers": { "@type": "Offer", "price": "49.00", "priceCurrency": "EUR" } } Validate your localized structured data with the MultiLipi Schema Checker or review broader multilingual SEO architecture patterns.
Quick Debugging Command
Verify what raw HTML a crawler actually sees on a translated route (without browser JS hydration):
curl -sL https://example.com/fr/pricing | grep -E "canonical|hreflang|application/ld\+json" -A 2 If your canonical, hreflang, and localized <title> aren't present in that raw SSR response, fixing hydration/rendering is step zero before any localization campaign.
