Localization Pass logo

Localization Pass

Community
XuanRanL
localization-pass

7-dimension locale adaptation (currency / units / spelling-dialect / idioms / regulations / tone / date-format) + multilingual audit (translation coverage matrix / hreflang validation / SEO parity / freshness check). Triggered when state.brief.target_market_locale != en-US, or via /locale-audit on existing multilingual directory.

Overview

PublisherXuanRanL
Repositoryloamwright-SEO-Skill
Skill namelocalization-pass
Stars
52
Forks
9
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by XuanRanL on GitHub. Read the source before you install it.

Installation

Install the Localization Pass AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/optimize/localization-pass
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill.git /tmp/loamwright-SEO-Skill
mkdir -p .claude/skills
cp -r /tmp/loamwright-SEO-Skill/subskills/optimize/localization-pass .claude/skills/localization-pass
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Localization Pass in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Localization Pass on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Localization Pass is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Localization Pass · 7-Dimension Adaptation + Multilingual Audit

Single-article locale adaptation OR portfolio-wide multilingual quality audit.

When to invoke

  • During /article pipeline when state.brief.target_market_locale != "en-US"
  • /locale-audit <directory> — portfolio audit of existing multilingual content
  • After /article translation runs to verify per-language SEO parity
  • /locale-check workspace/{task}/draft.md — single-file dialect check

Mode 1 · Per-article dialect gate + 7-dimension adaptation

Wired v3.35 (2026-07-04): the dialect check is now the mandatory locale-spelling-check orchestrator stage — it runs on EVERY article (including en-US, where its production value is catching en-GB spellings leaking from model training data: "colour/organise/whilst" in en-US prose is an AI-tell). The executor existed since v5.0 with zero invocations (Rule 6). Evidence + thresholds: references/seo/serp-feature-value-2026.md §5.

Applied during the Optimize phase; the FULL 7-dimension adaptation applies when the target locale differs from US-English defaults.

The 7 dimensions

#DimensionExample transformation
1Currency$199 → £169 / €189 / ¥21,000
2Unitsinches → cm, lb → kg, miles → km, °F → °C
3Spelling dialectcolor → colour, organize → organise, customize → customise
4Idioms"drop the ball" (US) → "let the side down" (UK) / direct translation (non-EN)
5RegulationsFTC → ASA (UK) / ACCC (AU) / KSA (KR) / 消费者权益保护法 (CN)
6ToneUS casual → UK formal / JP polite (敬語) / DE direct
7Date formatMM/DD/YYYY → DD/MM/YYYY / YYYY-MM-DD / 令和7年

Workflow

bash
# Step 1 (WIRED, mandatory stage — runs automatically in the pipeline):
python -m scripts.lint.spelling_dialect_check --workspace {task_id} --json
# Resolves target dialect from state.brief.target_market_locale (en-US default).
# Exempt zones: References/Further Reading tail, blockquotes, code, link URLs,
# Capitalized mid-sentence proper nouns ("Labour Party", "Centre for ...").
# Gate: FAIL at drift_count >= 3 (systemic drift); 1-2 hits = warnings.
# Output: workspace/{task}/locale-spelling-lint.json (passed flag enforced by
# the orchestrator, run_pipeline._GATE_STAGES, and the pre-publish gate).

# Step 2 (repair, when the gate FAILs): apply drift_words[].use_instead
# replacements directly (deterministic word swaps — surgical Edit, cheapest
# route), then the freshness rule re-runs Step 1 automatically.
# NOTE (correction, v3.35): the pre-v3.35 claim that "the humanizer agent
# handles the locale layer" was FALSE — the humanizer has no locale code. For
# non-English locales the dialect gate no-ops and the 7-dimension adaptation
# below remains an LLM editing task guided by references/localization/{locale}.md.

# Legacy single-file form (manual diagnostics):
python -m scripts.lint.spelling_dialect_check --input {path}.md --target en-UK --json

Per-locale references (loaded on demand)

  • references/localization/{locale}.md — currency / units / regulation / cultural per market
  • references/localization/spelling/en-{US,UK,AU,CA,NZ}.md — 5 English dialect mappings

Currently supported locales (with detail-level references):

  • en-US (default), en-UK, en-AU, en-CA, en-NZ
  • de, fr, es, it, pt, nl
  • jp, kr, cn, tw, hk, sg

For new locales: ship with skeleton reference + flag for user to fill domain-specific knowledge.

Mode 2 · /locale-audit <directory> — multilingual quality control

Audits a directory of multilingual content for completeness, consistency, hreflang correctness, meta-tag parity, freshness.

Phase 1: Discovery

  1. Scan target directory. Group blog posts by language using:
    • Subdirectory names (en/, de/, fr/)
    • Frontmatter lang and translatedFrom fields
    • hreflang-map.json if present
  2. Build content matrix mapping which post exists in which languages
  3. Detect source language (most common translatedFrom target, or sourceLanguage field in hreflang-map.json)

Phase 2: Completeness audit

Translation coverage matrix:

| Post (EN) | DE | FR | ES | JA |
|-----------|----|----|----|----|
| how-to-avoid-ai-slop | ok | ok | missing | missing |
| content-marketing-2026 | ok | missing | ok | missing |

Coverage: 60% (6 of 10 expected translations present)
Missing: 4 translations needed

Phase 3: Content parity audit

For every post that exists in multiple languages:

CheckWhatSeverity
Section countSame number of H2 + H3 sectionsCritical
FAQ countSame number of FAQ itemsHigh
Image countSame number of imagesHigh
Chart countSame number of charts (SVG figures)High
Word count ratioWithin expected band (DE +20-30%, JA -20%, ES +10%)Medium
Link countSimilar internal + external link countsMedium
Citation capsule countSame number per H2 across versionsMedium
Frontmatter parityAll required fields per versionHigh

Flag every significant deviation as an issue.

Phase 4: SEO parity audit

For every language version verify:

ElementCheckSeverity
Title tagPresent, correct length for languageCritical
Meta descriptionPresent, correct length, contains a statCritical
lang attribute / frontmatter langPresent, valid ISO 639-1Critical
Schema inLanguageMatches langHigh
Schema translationOfWorkPoints to source URLHigh
Alt textTranslated (no English alt in non-EN posts)High
SlugLocalized (no English slug in non-EN posts)Medium
TagsLocalizedMedium
KeywordsLocalizedMedium

Phase 5: Hreflang audit

If hreflang-tags.html, hreflang-sitemap.xml, or hreflang-map.json exists:

CheckWhatSeverity
Self-referencingEach page references itselfCritical
Return tagsEvery relationship bidirectionalCritical
x-defaultPresent, points to source languageCritical
Language codesValid ISO 639-1 (with optional region)High
URL consistencySame protocol, trailing-slash conventionMedium
CompletenessEvery language version representedHigh

If no hreflang files exist: critical gap. Offer regeneration via translate skill.

Phase 6: Freshness audit

For posts with translatedDate frontmatter:

CheckWhatSeverity
Source updated after translationSource modified after translatedDateCritical
Translation older than 90 daysMay need refreshMedium
lastUpdated mismatch across versionsVersions out of syncMedium
File mtime newer than translatedDateContent changed without frontmatter updateWarning

Emit actionable commands per stale file:

3 translations are stale:
- de/ki-trends-2026.md (source updated 2 days ago)
  → Run: /translate en/ai-trends-2026.md --to de
- fr/ki-trends-2026.md (source updated 2 days ago)
  → Run: /translate en/ai-trends-2026.md --to fr
- es/tendencias-ia-2026.md (translation >90 days old)
  → Run: /translate en/ai-trends-2026.md --to es

Phase 7: Report

Output to projects/{slug}/locale-audit-{date}.md:

markdown
## Multilingual content audit report

### Summary
- Posts audited: [N] across [N] languages
- Overall health: [score] / 100
- Critical issues: [N]
- Warnings: [N]

### Translation coverage
[Matrix from Phase 2]

### Issues found

#### Critical
- [Issue with file references]

#### Warnings
- [Issue with file references]

#### Passed
- [Checks that passed]

### Prioritized fixes
1. [Highest-impact action]
2. [...]

### Stale-translation alerts
[Runnable commands from Phase 6]

### Quick fixes
- Run `/translate <file> --to <missing-langs>` for [N] missing translations
- Run `/multilingual` to regenerate hreflang assets
- Run `/locale <file> --locale <code>` for weak cultural adaptations

Error handling

ScenarioAction
Empty directory"No blog posts found in [path]"
Only one language presentReport coverage, suggest target languages
No hreflang filesFlag as critical gap, offer regeneration
Unrecognized file formatSkip with warning
Reference file missing for target localeFall back to nearest variant + warn

Locale-specific quirks (high-leverage examples)

German (de): 20-30% longer than English; preserve compound nouns (Marketingautomatisierung); use Sie (formal) by default unless brand voice says otherwise.

Japanese (ja): 20% shorter than English; 敬語 (formal) for B2B; consider character-level character counting not byte counting; date format YYYY-MM-DD or 令和N年.

French (fr): Espace insécable before ; ? ! :, after «»; numbers use comma decimal (3,14 not 3.14); EUR uses €.

Simplified Chinese (cn): ~50% shorter than English; full-width punctuation in body, half-width in code; date YYYY-MM-DD or YYYY年MM月DD日; avoid Taiwan-specific vocabulary.

Traditional Chinese (tw / hk): Same as cn but full-width punctuation throughout + Traditional characters + region-specific vocabulary.

Cost

For typical article localization (US → UK / non-EN):

  • 1× Claude Opus pass through 7 dimensions: ~$0.15
  • Spell/dialect lint runs: free
  • WebFetch for cultural references if needed: free
  • Total: ~$0.15 per locale

For audit mode (no rewriting):

  • Pure deterministic checks: free
  • Optional LLM summary at end: ~$0.05

See also

  • references/localization/{locale}.md — per-market detail
  • scripts/lint/spelling_dialect_check.py — verification linter
  • subskills/optimize/humanizer/SKILL.md — voice + purpose system used during adaptation

Frequently asked questions

What does the Localization Pass AI skill do?

7-dimension locale adaptation (currency / units / spelling-dialect / idioms / regulations / tone / date-format) + multilingual audit (translation coverage matrix / hreflang validation / SEO parity / freshness check). Triggered when state.brief.target_market_locale != en-US, or via /locale-audit on existing multilingual directory.

Why use Localization Pass on TypingMind?

Because you install it once and use it with any model. Localization Pass is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Localization Pass in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/optimize/localization-pass. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Localization Pass?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Localization Pass?

As many as you like. As long as a model supports skills, you can use Localization Pass with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Localization Pass AI skill free?

Yes. It is published on GitHub by XuanRanL under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇