Localization

From sediman-agent/OpenSkynet · View interactive version

Localization is an AI agent skill from the GitHub repository sediman-agent/OpenSkynet. When the user wants to plan or implement localization strategy for multilingual and global growth. Also use when the user mentions "localization," "multilingual," "i18n," "global expansion," "market entry," "localization strategy," "hreflang," "multi-language SEO," or "international SEO." For transl

How to use this skill

Skill file

Strategies: Localization

Guides localization strategy for AI/SaaS products expanding into global markets. Covers i18n implementation, translation, pricing, and marketing adaptation--not just text translation.

When invoking: On first use, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for product, target markets, and brand.

Identify:

  1. Target markets: Priority languages/regions
  2. Product type: SaaS, AI tool, content
  3. Technical stack: Next.js, React, etc.

Localization vs. Translation

Localization includes:

Technical (i18n)

URL Structure

Choose one; be consistent:

| Option | Example | Pros / Cons |

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

| Subdirectories | /en/, /de/, /zh/ | Recommended; maintains domain authority |

| Subdomains | de.example.com | Separate hosting; less authority transfer |

| ccTLD | example.de | Strongest geo signal; costly |

i18n SEO Principles

Common Issues (Next.js + next-intl)

| Issue | Solution |

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

| Route conflict | generateStaticParams(); validate locale |

| Auto redirect | localeDetection: false |

| Middleware | Apply only to prefixed paths (e.g. /zh) |

| URL duplication | Manual switcher; getLocalizedHref() |

SEO

Keyword Research by Market

| Market | Tool |

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

| Russia | Yandex Wordstat |

| Korea | Naver DataLab |

| Global | Google Keyword Planner, SEO tools |

Consider: Cultural expressions, search habits, competition, long-tail in small markets.

Terminology & Translation

Pricing Strategies

| Strategy | Use |

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

| True localization | Adjust price by purchasing power |

| Cosmetic | Display currency only; same price |

| Tools | Parity Deals, Chargebee |

i18n SEO Checklist (New Feature / New Locale)

New feature with i18n

  1. Add translation keys to all locale JSON files. Use translation for glossary, style guide, and translation workflow.
  2. Add generateMetadata() with alternates (hreflang) per page.
  3. Add JSON-LD with inLanguage and translated fields.
  4. Add page to sitemap with hreflang annotations.
  5. Set lang attribute on <html>; UTF-8 encoding.

New locale

  1. Add locale code to config; create {code}.json dictionary.
  2. Register in sitemap locale list; regenerate.
  3. Add OpenGraph locale and alternateLocale.
  4. Ensure all alternates are symmetric (every page lists all versions).

Multilingual Risks

Avoid

Output Format

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.