Logo di Localization Pass

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.

Panoramica

Pubblicato daXuanRanL
Repositoryloamwright-SEO-Skill
Nome della skilllocalization-pass
Stelle
52
Fork
9
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da XuanRanL su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Localization Pass in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/optimize/localization-pass
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Localization Pass in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Localization Pass non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Localization Pass non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Localization Pass su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Localization Pass è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Localization Pass in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/optimize/localization-pass. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Localization Pass?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Localization Pass?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Localization Pass: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Localization Pass è gratuita?

Sì. È pubblicata su GitHub da XuanRanL con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇