Logo Localization Pass

Localization Pass

Cộng đồng
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.

Tổng quan

Nhà phát hànhXuanRanL
Kho mãloamwright-SEO-Skill
Tên kỹ nănglocalization-pass
Sao
52
Bản fork
9
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được XuanRanL công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Localization Pass trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/optimize/localization-pass
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Localization Pass trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Localization Pass ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Localization Pass với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Localization Pass làm được gì?

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.

Vì sao nên dùng Localization Pass trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Localization Pass là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Localization Pass trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/optimize/localization-pass. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Localization Pass?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Localization Pass với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Localization Pass với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Localization Pass có miễn phí không?

Có. Kỹ năng này được XuanRanL phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇