Plan, architect, and technically audit international and multilingual SEO for global SaaS, AI products, and web stores — country-specific demand sizing via BeatAPI SEO Data, native-intent transcreation, subdirectory/hreflang/canonical engineering, and automated live hreflang reciprocity verification via crawl_audit.py. Use when expanding into non-English or multi-country markets, fixing hreflang or cross-language canonical bugs, or auditing global indexing.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of I18n Seo?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/beatapi-i18n-seo)
---
name: i18n-seo
description: Plan, architect, and technically audit international and multilingual SEO for global SaaS, AI products, and web stores — country-specific demand sizing via BeatAPI SEO Data, native-intent transcreation, subdirectory/hreflang/canonical engineering, and automated live hreflang reciprocity verification via crawl_audit.py. Use when expanding into non-English or multi-country markets, fixing hreflang or cross-language canonical bugs, or auditing global indexing.
when_to_use: international seo, multilingual seo, i18n seo, hreflang setup, hreflang audit, global seo expansion, localized seo strategy, 多语言SEO, 出海SEO架构
argument-hint: "[domain and target languages/countries, e.g. 'https://northpeak.example ja, de, pt-BR, es-419']"
metadata:
beatapi:
version: 1.0.1
layer: strategy
reads: [product-information, brand-manifest, positioning, keyword-plan, competitors, learnings]
writes: [assets]
optional-keys: [BEATAPI_API_KEY, GOOGLE_APPLICATION_CREDENTIALS, GSC_SITE_URL]
enhances_with:
- toolset: seo-data
gains: "pulls country-and-language-specific search volume, keyword difficulty, and existing organic geography via BeatAPI SEO Data"
- toolset: web-scrape
gains: "reads live localized HTML heads, sitemaps, and competitor local SERPs via BeatAPI Web Read and Web Search"
- toolset: search-console
gains: "segments real impressions, clicks, and CTR by country and locale path prefix in Google Search Console"
---
# International & Multilingual SEO (`i18n-seo`)
Auto-translating an entire English SaaS site into 12 languages on day one is one of the costliest technical SEO mistakes: literal machine translations miss the terms native buyers actually type, incomplete blog routes emit broken `hreflang` clusters, and accidentally leaving `<link rel="canonical" href="https://example.com/pricing">` on `/ja/pricing` tells Google to de-index every translated page. This skill sequences markets by **verified local search demand**, enforces **native query transcreation**, specs **bug-free URL + `hreflang` + canonical architecture**, and verifies live deployments mechanically with `crawl_audit.py`.
## Context
Only if `./brand/`, `./brands/` or `MARKETING.md` exists (nothing to load otherwise), run:
`python3 ${CLAUDE_SKILL_DIR}/../start-here/scripts/brand_context.py --for i18n-seo`
(`${CLAUDE_SKILL_DIR}` is this skill's folder; outside Claude Code, use the folder this `SKILL.md` lives in.)
(If unavailable, read `reads:` directly. Ask only for the live domain, framework/CMS if known, and candidate target markets or languages.)
## Modes
| Trigger | Mode | Output |
|---|---|---|
| Default: domain + candidate languages/markets | **GLOBAL EXPANSION BLUEPRINT** | Market demand scorecard + URL/`hreflang` spec + phased rollout plan |
| Live multilingual site with indexing/ranking issues | **LIVE `HREFLANG` & CANONICAL AUDIT** | Runs `crawl_audit.py` + head inspection → exact per-route fix table & repo patch |
| Single Tier-1 market launch (`"localize core pages for Japan"`) | **NATIVE MARKET PACK** | Native keyword map + localized metadata/copy guardrails + schema/currency checklist |
---
## Phase 1: Country-Specific Demand Sizing & Native Transcreation
Never prioritize languages by global GDP tables or literal dictionary translations:
1. **Baseline current international pull:**
- With `GSC_SITE_URL` / CSV export: pull 90-day impressions and clicks grouped by `country`—markets already sending impressions to English pages with low CTR are the lowest-risk expansion targets.
- With `BEATAPI_API_KEY` (or BeatAPI MCP): call `data:seo.site_traffic` (`POST https://api.beatapi.io/v1/capabilities/run`) to inspect current organic country share on your domain and 2–3 category peers.
2. **Transcreate buyer queries into native search vocabulary (never word-for-word):**
- **Japanese (`ja-JP`):** B2B software buyers mix loanword katakana + English category acronyms + kanji intent modifiers (`ワークフロー 自動化 料金`, `Zapier 代替`, `Webhook 再試行`). Polite business register (`です/ます`), zero unnatural literal calques.
- **German (`de-DE`):** compound nouns + English SaaS terms + GDPR/DSGVO compliance modifiers (`Workflow-Automatisierung Kosten`, `DSGVO-konform`, `Alternative`).
- **Portuguese (`pt-BR`) vs (`pt-PT`) & Spanish (`es-419` vs `es-ES`):** vocabulary and currency expectations diverge (`preços` / BRL installment norms vs EUR; `automatización de flujos` vs `software de facturación`).
3. **Measure local volume & SERP language via BeatAPI SEO Data:**
- Call `data:seo.keyword_overview` and `data:seo.keyword_difficulty` with explicit `country` and `language` parameters across 5–10 core commercial queries per candidate market.
- Call `data:web.search` (`country`, `language`) on the top 2 queries per market: if 8/10 top results in Netherlands or Nordics are English SaaS pages, English already ranks there (**Defer** translation); if Japan, Germany, Brazil, or Korea return 9/10 native-language pages, native localization is required to compete (**Tier 1** or **Tier 2**).
4. **Assign Market Tiers:**
- **Tier 1 (Commit Now — 1 to 2 languages max per sprint):** high commercial demand, native SERP requirement, product/payment/support ready → localize Homepage, `/pricing`, top 3 `/vs/` or feature pages, and core navigation.
- **Tier 2 (Core Commercial Shell Only):** localize Homepage + `/pricing` + localized checkout currency; keep deep docs/blog English-only without broken `hreflang`.
- **Defer:** low local demand, English SERPs already convert, or product lacks required local compliance/payment methods.
---
## Phase 2: Technical i18n Architecture (Zero De-Indexing Bugs)
Enforce all six technical invariants across Next.js, TanStack Start, Astro, Cloudflare Workers, or CMS builds:
1. **URL Topology:** default to **locale subdirectories** on the primary root domain (`example.com/pricing` for `en`, `example.com/ja/pricing`, `example.com/de/pricing`). Subdirectories consolidate domain authority (`DR`/backlinks) onto one host. Never use `?lang=ja` query parameters or cookie-only language switching on one URL (crawlers cannot index separate languages without distinct URLs). Use separate ccTLDs (`.de`, `.jp`) only when separate regulated legal entities require it.
2. **Strict Self-Referencing `<link rel="canonical">`:**
- `/ja/pricing` **must** output `<link rel="canonical" href="https://example.com/ja/pricing" />`.
- Pointing `/ja/pricing`'s canonical at `https://example.com/pricing` is the #1 i18n bug in modern web frameworks—it instructs Google to drop `/ja/pricing` from the index completely.
3. **Bidirectional BCP-47 `hreflang` Clusters + `x-default`:**
- Every published language version of a page outputs `<link rel="alternate" hreflang="..." href="..." />` for **itself**, **every other published language of that exact page**, and **`x-default`** (pointing to the canonical default/English URL).
- Use valid ISO 639-1 + optional ISO 3166-1 / UN M.49 tags (`en`, `ja`, `de`, `zh-CN`, `zh-TW`, `pt-BR`, `es-419`—never `jp`, `uk` for English, or underscore `pt_BR`).
- **Per-page publication availability:** emit `hreflang` links and `<xhtml:link>` sitemap entries **only for translations that actually exist and return `200 OK`**. If a blog post exists only in English and Japanese, emit `en`, `ja`, and `x-default`—never emit `/de/blog/slug` if `/de/blog/slug` 302-redirects to English or returns 404.
4. **Never Auto-Redirect Crawlers or URLs by IP / `Accept-Language`:**
- Googlebot, `OAI-SearchBot`, and `PerplexityBot` crawl predominantly from US IP ranges with English or empty `Accept-Language` headers. Geo-IP 302 redirects trap crawlers on English and make `/ja/` and `/de/` invisible. Serve the language requested in the URL path, and offer a non-blocking, dismissible language banner in client UI only.
5. **Document Identity & Structured Data Parity:**
- Set `<html lang="ja">`, localized `<title>`, `<meta name="description">`, `og:locale`, and `inLanguage` on `WebPage` / `Article` / `SoftwareApplication` JSON-LD. Keep `Organization` `@id` and `sameAs` unified across locales so AI engines connect every language back to one brand entity.
6. **Commercial Trust Localization:** align currency display, tax/invoice notes (EU VAT, Japan Qualified Invoice / Pay-by-invoice expectations, Brazil Pix/BRL if applicable), and date/number formatting—translating prose while leaving broken US-only assumptions tanks localized conversion.
---
## Phase 3: Automated Live Verification via `crawl_audit.py`
Whenever auditing an existing domain or verifying a staging/live rollout, run BeatCMO's built-in technical crawler instead of eyeballing one view-source tab:
```bash
python3 ${CLAUDE_SKILL_DIR}/../site-audit/scripts/crawl_audit.py <https://domain.tld> --mode quick --no-psi
```
Inspect the generated `./campaigns/site-audit-<domain>-<YYYY-MM-DD>/findings.json` specifically for:
- **`hreflang_issues`:** flags invalid BCP-47 codes (`invalid_code`), missing self-reference (`no_self`), missing `x-default`, `hreflang` targets pointing at non-200/redirected URLs, and **broken return links (`no_return`)** where `/pricing` links to `/ja/pricing` as `ja` but `/ja/pricing` forgets to link back to `/pricing` as `en`.
- **`canonical_to_other` / `noindex_key`:** catches localized money pages accidentally canonicalized to English or left `noindex` from staging.
- **`ai_search_blocked`:** confirms localized paths aren't inadvertently disallowed for Googlebot or AI search crawlers in `robots.txt`.
When working inside the site's local repository, offer to generate a clean branch/diff patch (`fix/beatcmo-i18n-seo`) fixing route head helpers and sitemap generators—**never push or deploy without human review**.
---
## Phase 4: Internal Calibration Rubric (Silent 1–10 Gate)
Ensure every dimension clears `>= 8/10` before saving:
- **Demand Evidence:** markets tiered using country/language-specific BeatAPI SEO volumes or GSC country data—never population guesses.
- **Native Query Quality:** commercial seed terms use idiomatic local buyer phrasing rather than literal machine translation.
- **Canonical & `hreflang` Rigor:** copy-paste `<head>` block shows self-referencing canonical, valid BCP-47 codes, bidirectional cluster, per-page availability gating, and `x-default`.
- **Crawler Safety:** explicit ban on Geo-IP / `Accept-Language` forced redirects; `crawl_audit.py` findings verified on live domains.
- **Retest Contract:** 30/60-day GSC per-locale indexation and impression checkpoints defined for `/performance-review`.
## Worked SaaS Example (Illustrative — Sample Company `Northpeak AI`)
- **Audit & Sizing:** `Northpeak AI` (`https://northpeak.example`) wanted to translate all 90 pages into 6 languages. GSC + BeatAPI `data:seo.keyword_overview` showed strong native-SERP commercial demand in **Japan (`ja`)** and **Germany (`de`)**, while Nordic/Dutch SERPs already ranked English SaaS pages on page 1. `crawl_audit.py` caught staging `/ja/pricing` canonicalizing to `/pricing` and missing `x-default`.
- **Shipped Plan:** Scoped Sprint 1 strictly to **7 high-intent commercial routes** (`/`, `/pricing`, `/vs/zapier`, `/vs/make`, `/features/agent-workflows`, `/security`, `/tools/automation-cost-calculator`) in `ja` and `de` with per-page `hreflang` availability resolver, fixed self-referencing canonicals, added DSGVO/DPA callout on `/de/pricing`, and deferred blog archive translation until commercial routes hit GSC top-15 impressions.
## Output
Write `./campaigns/i18n-seo-<date>/i18n-seo-plan.md` + `notes.md` before summarizing (`start-here/references/output-format.md`), and append one line to `./brand/assets.md`.
**What's next:**
- `/site-audit`: run a full 200-page crawl after deploying localized routes to confirm zero `hreflang_issues` or broken links (~15 min)
- `/comparison-pages` & `/landing-page`: transcreate the Tier-1 `/pricing` and `/vs/` pages with native buyer proof (~25 min)
- `/keyword-research`: map native-language topic clusters once the commercial shell is indexed (~20 min)
- `/performance-review`: review 30-day and 60-day GSC impressions/clicks by `/ja/` and `/de/` path prefixes (~15 min)
## When the user edits your work
Apply the edit, save a gold case to `./brand/gold/<this skill>/` and 1–3 checks to `./brand/checks.md`, and confirm in one line (`${CLAUDE_SKILL_DIR}/../start-here/references/taste-loop.md`).