Localization

From kostja94/marketing-skills · View interactive version

Localization is an AI agent skill from the GitHub repository kostja94/marketing-skills. Plan, audit, implement, migrate, or validate localization for multilingual products and websites, including locale scope, market readiness, URL architecture, content coverage, hreflang coordination, rollout, and production verification. Use translation for the actual translation, glossary, and langu

How to use this skill

Skill file

Localization Strategy

Own the end-to-end localization decision and delivery lifecycle. Do not treat localization as a request to translate every source page or to create locale routes before the content is ready.

Boundaries

Establish the Current State

Read root {project}.md when present. Build the evidence set from the production site, route or CMS inventory, navigation and internal links, sitemap, source repository, analytics, and search data as available. A sitemap alone is not a complete page inventory.

Confirm:

When a site has thousands of same-template pages, inventory page types and representative examples rather than listing every URL.

Decide Whether a Locale Should Launch

Prioritize a locale using evidence such as existing demand, search opportunity, conversion or revenue potential, competitive depth, payment and support readiness, compliance, and the team's ability to keep content current.

Separate these decisions:

  1. Language support: the interface or content is available in a language.
  2. Locale support: spelling, formats, currency, terminology, or product behavior differs.
  3. Market entry: pricing, payments, channels, proof, support, and compliance are ready for a geography.

Do not create country-specific copies only because the countries differ. A new locale needs a maintained user or market distinction.

Define the Coverage Model

Create a page-type or route-family matrix with one state per locale:

| State | Meaning | Public behavior |

|---|---|---|

| source-current | Source-language page is current | Source URL is public |

| translation-draft | Work exists but is not approved | Preview or noindex only |

| localized-ready | Content, terminology, facts, and metadata passed review | Locale URL may be indexed |

| outdated | Source changed after localized approval | Keep, warn internally, and queue review according to risk |

| not-applicable | Product or content does not apply to the market | Do not manufacture an alternate |

Core product, pricing, checkout, legal, and high-intent pages require a stricter release gate than low-risk support or user-generated content. Do not publish a locale URL whose language shell hides source-language body content.

Choose URL and Routing Architecture

Use stable, crawlable URLs for public localized pages. Subdirectories are often operationally simple, but subdomains or ccTLDs can be valid when hosting, ownership, regulation, or market operations justify them. Do not claim one structure is universally superior.

Key invariants:

Use BCP 47 language or locale identifiers appropriate to the real distinction. Do not invent regional variants merely for SEO.

Coordinate Content Production

For each approved locale:

  1. Lock the source version and record page type, audience, intent, claims, constraints, and owner.
  2. Use keyword-research for the target market rather than translating source queries.
  3. Use translation to produce copy, glossary decisions, style guidance, and review evidence.
  4. Adapt examples, proof, pricing, payments, dates, units, imagery, and compliance only when verified for that market.
  5. Keep feature availability and legal statements tied to the actual locale or market.
  6. Mark the locale localized-ready only after content and implementation gates pass.

Legal or regulated content requires subject-matter review. Translation must preserve parties, numbers, obligations, rights, jurisdiction, version precedence, and section correspondence unless authorized counsel changes them.

Migrate Existing Locale URLs

When replacing query parameters, cookies, old prefixes, domains, or routing systems:

  1. Capture the current URL and behavior inventory, including indexed and externally linked variants.
  2. Freeze the target public URL policy and locale mapping.
  3. Map old URLs to the most equivalent new locale URLs.
  4. Add permanent redirects where the old public URL is being replaced; preserve relevant path and query state when safe.
  5. Update internal links, language switching, canonicals, hreflang, sitemaps, structured data, and analytics segmentation.
  6. Keep compatibility redirects until logs and search data show they are no longer needed; do not use an arbitrary universal retention period.
  7. Define rollback triggers and verify that rollback will not restore conflicting index signals.

Framework examples may be useful, but public URL and content-state invariants take precedence over a particular Next.js or i18n library configuration.

Release Verification

Verify observable production behavior, not only configuration files:

Use representative samples for very large route sets and add automated checks for route families.

Monitor and Expand

Measure by locale and market rather than only global totals: crawl/index coverage, impressions, clicks, conversions, activation, revenue, support load, and stale-content rate. Report cannibalization, wrong-locale ranking, or indexing conflicts; do not automatically restructure pages without authorization.

Expand after the first locale demonstrates maintainable publishing and source-change synchronization. Volume alone is not success.

Output

Provide only the artifacts the request needs, such as:

Do not create a new planning document when an existing project SSOT or implementation Skill can be updated.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.