{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-localize-d71b58f35173","title":"Localization Pipeline Management","summary":"Extract, validate, and review localized strings for a software project, including cultural review, voice-over pipeline, and QA.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-localize-d71b58f35173","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-localize-d71b58f35173","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-localize-d71b58f35173.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-localize-d71b58f35173\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running the localization pipeline, ensure the code root is resolved as described in `.claude\/docs\/code-root-resolution.md`. The user must confirm writing new string entries to `assets\/data\/strings\/strings-en.json` during the extract phase.","instructions":"---\nname: localize\ndescription: \"Localization pipeline \u2014 find hardcoded strings, extract string tables, cultural review, VO, RTL, enforce string freeze.\"\nargument-hint: \"[scan|extract|validate|status|brief|cultural-review|vo-pipeline|rtl-check|freeze|qa]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Edit, Agent, AskUserQuestion, Bash(bash \"*\/.claude\/skills\/localize\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *)\nmodel: sonnet\n---\n\n!`bash \"${CLAUDE_SKILL_DIR}\/..\/..\/hooks\/yaml-helper.sh\" resolve_config --keys automation`\n\n\n\n# Localization Pipeline\n\nLocalization is not just translation \u2014 it is the full process of making a game\nfeel native in every language and region. Poor localization breaks immersion,\nconfuses players, and blocks platform certification. This skill covers the\ncomplete pipeline from string extraction through cultural review, VO recording,\nRTL layout testing, and localization QA sign-off.\n\n**Modes:**\n- `scan` \u2014 Find hardcoded strings and localization anti-patterns (read-only)\n- `extract` \u2014 Extract strings and generate translation-ready tables\n- `validate` \u2014 Check translations for completeness, placeholders, and length\n- `status` \u2014 Coverage matrix across all locales\n- `brief` \u2014 Generate translator context briefing document for an external team\n- `cultural-review` \u2014 Flag culturally sensitive content, symbols, colours, idioms\n- `vo-pipeline` \u2014 Manage voice-over localization: scripts, recording specs, integration\n- `rtl-check` \u2014 Validate RTL language layout, mirroring, and font support\n- `freeze` \u2014 Enforce string freeze; lock source strings before translation begins\n- `qa` \u2014 Run the full localization QA cycle before release\n\nIf no subcommand is provided, output usage and stop. Verdict: **FAIL** \u2014 missing required subcommand.\n\n---\n\nEvery `AskUserQuestion` call follows `.claude\/docs\/automation-modes.md`\n(collaborative asks always \u00b7 guided major-only \u00b7 autonomous logs and proceeds;\n`automation_always_ask` categories always prompt).\n\n## Phase 2A: Scan Mode\n\nSearch the **code root** (resolve per `.claude\/docs\/code-root-resolution.md`) for hardcoded user-facing strings. **If the code root is unresolved, report `NOT ASSESSED \u2014 code root unresolved` rather than zero hits.** Zero hits from an unresolved root reads as \"nothing to localize\", which is the failure this guards:\n\n- String literals in UI code not wrapped in a localization function (`tr()`, `Tr()`, `NSLocalizedString`, `GetText`, etc.)\n- Concatenated strings that should be parameterized\n- Strings with positional placeholders (`%s`, `%d`) instead of named ones (`{playerName}`)\n- Format strings that mix locale-sensitive data (numbers, dates, currencies) without locale-aware formatting\n\nSearch for localization anti-patterns:\n\n- Date\/time formatting not using locale-aware functions\n- Number formatting without locale awareness (`1,000` vs `1.000`)\n- Text embedded in images or textures (flag asset files in `assets\/`)\n- Strings that assume left-to-right text direction (positional layout, string assembly order)\n- Gender\/plurality assumptions baked into string logic (must use plural forms or gender tokens)\n- Hardcoded punctuation (e.g. `\"You won!\"` \u2014 exclamation styles vary by locale)\n\nReport all findings with file paths and line numbers. This mode is read-only \u2014 no files are written.\n\n---\n\n## Phase 2B: Extract Mode\n\n- Scan all source files for localized string references\n- Compare against the existing string table in `assets\/data\/strings\/`\n- Generate new entries for strings not yet keyed\n- Suggest key names following the convention: `[category].[subcategory].[description]`\n  - Example: `ui.hud.health_label`, `dialogue.npc.merchant.greeting`, `menu.main.play_button`\n- Each new entry must include a `context` field \u2014 a translator comment explaining:\n  - Where it appears (which screen, which scene)\n  - Maximum character length\n  - Any placeholder meaning (`{playerName}` = the player's chosen display name)\n  - Gender\/plurality context if applicable\n\nOutput a diff of new strings to add to the string table.\n\nPresent the diff to the user. Ask: \"May I write these new entries to `assets\/data\/strings\/strings-en.json`?\"\n\nIf yes, write only the diff (new entries), not a full replacement. Verdict: **COMPLETE** \u2014 strings extracted and written.\n\n---\n\n## Phase 2C: Validate Mode\n\nRead all string table files in `assets\/data\/strings\/`. For each locale, check:\n\n- **Completeness** \u2014 key exists in source (en) but no translation for this locale\n- **Placeholder mismatches** \u2014 source has `{name}` but translation omits it or adds extras\n- **String length violations** \u2014 translation exceeds the character limit recorded in the source `context` field\n- **Plural form count** \u2014 locale requires N plural forms; translation provides fewer\n- **Orphaned keys** \u2014 translation exists but nothing in the code root references the key\n- **Stale translations** \u2014 source string changed after translation was written (flag for re-translation)\n- **Encoding** \u2014 non-ASCII characters present and font atlas supports them (flag if uncertain)\n\nReport validation results grouped by locale and severity. This mode is read-only \u2014 no files are written.\n\n---\n\n## Phase 2D: Status Mode\n\n- Count total localizable strings in the source table\n- Per locale: count translated, untranslated, stale (source changed since translation)\n- Generate a coverage matrix:\n\n```markdown\n## Localization Status\nGenerated: [Date]\nString freeze: [Active \/ Not yet called \/ Lifted]\n\n| Locale | Total | Translated | Missing | Stale | Coverage |\n|--------|-------|-----------|---------|-------|----------|\n| en (source) | [N] | [N] | [N] | [N] | [N]% |\n| [locale] | [N] | [N] | [N] | [N] | [X]% |\n\n> **Every cell above is a count you must take from the string table \u2014 including\n> the source row.** Do not pre-fill the source locale as `100%`: that asserts a\n> result before counting, and on a project with no `assets\/data\/strings\/` it\n> produces a coverage report for a table that does not exist. If the string table\n> is absent, the whole status output is\n> **`NOT ASSESSED \u2014 no string table found`**, not a matrix of zeros with a\n> confident source row.\n\n### Issues\n- [N] hardcoded strings found in source code (run \/localize scan)\n- [N] strings exceeding character limits\n- [N] placeholder mismatches\n- [N] orphaned keys\n- [N] strings added after freeze was called (freeze violations)\n```\n\nThis mode is read-only \u2014 no files are written.\n\n---\n\n## Phase 2E: Brief Mode\n\nGenerate a translator context briefing document. This document is sent to the\nexternal translation team or localisation vendor alongside the string table export.\n\nRead:\n- `design\/gdd\/` \u2014 extract game genre, tone, setting, character names. Read the\n  GDDs by section: find the headings you need with the Grep tool (pattern `^#`,\n  content mode) and Read those ranges with offset and limit.\n- `assets\/data\/strings\/strings-en.json` \u2014 the source string table\n- Any existing lore or narrative documents in `design\/narrative\/`\n\nGenerate `production\/localization\/translator-brief-[locale]-[date].md`:\n\n```markdown\n# Translator Brief \u2014 [Game Name] \u2014 [Locale]\n\n## Game Overview\n[2-3 paragraph summary of the game, genre, tone, and audience]\n\n## Tone and Voice\n- **Overall tone**: [e.g., \"Darkly comic, not slapstick \u2014 think Terry Pratchett, not Looney Tunes\"]\n- **Player address**: [e.g., \"Second person, informal. Never formal 'vous' \u2014 always 'tu' for French\"]\n- **Profanity policy**: [e.g., \"Mild \u2014 PG-13 equivalent. Match intensity to source, do not soften or escalate\"]\n- **Humour**: [e.g., \"Wordplay exists \u2014 if a pun cannot translate, invent an equivalent local joke; do not translate literally\"]\n\n## Character Glossary\n| Name | Role | Personality | Notes |\n|------|------|-------------|-------|\n| [Name] | [Role] | [Personality] | [Do not translate \/ transliterate as X] |\n\n## World Glossary\n| Term | Meaning | Notes |\n|------|---------|-------|\n| [Term] | [What it means] | [Keep in English \/ translate as X] |\n\n## Do Not Translate List\nThe following must appear verbatim in all locales:\n- [Game name]\n- [UI terms that match in-engine labels]\n- [Brand or trademark names]\n\n## Placeholder Reference\n| Placeholder | What it represents | Example |\n|-------------|-------------------|---------|\n| `{playerName}` | Player's chosen display name | \"Shadowblade\" |\n| `{count}` | Integer quantity | \"3\" |\n\n## Character Limits\nTight UI fields with hard limits are marked in the string table `context` field.\nWhere no limit is stated, target \u00b130% of the English length as a guideline.\n\n## Contact\nDirect questions to: [placeholder for user\/team contact]\nDelivery format: JSON, same schema as strings-en.json\n```\n\nAsk: \"May I write this translator brief to `production\/localization\/translator-brief-[locale]-[date].md`?\"\n\n---\n\n## Phase 2F: Cultural Review Mode\n\nSpawn `localization-lead` via `Agent`. Ask them to audit the following for cultural sensitivity across the target locales (read from `assets\/data\/strings\/` and `assets\/`):\n\n### Content Areas to Review\n\n**Symbols and gestures**\n- Thumbs up, OK hand, peace sign \u2014 meanings vary by region\n- Religious or spiritual symbols in art, UI, or audio\n- National flags, map representations, disputed territories\n\n**Colours**\n- White (mourning in some Asian cultures), green (political associations in some regions), red (luck vs danger)\n- Alert\/warning colours that conflict with cultural associations\n\n**Numbers**\n- 4 (death in Japanese\/Chinese), 13, 666 \u2014 flag use in UI (room numbers, item counts, prices)\n\n**Humour and idioms**\n- Idioms that translate as offensive in other locales\n- Toilet\/bodily humour that is inappropriate in some markets (notably Japan, Germany, Middle East)\n- Dark humour around topics that are culturally sensitive in specific regions\n\n**Violence and content ratings**\n- Content that would require ratings changes in DE (Germany), AU (Australia), CN (China), or AE (UAE)\n- Blood colour, gore level, drug references \u2014 flag all for region-specific asset variants if needed\n\n**Names and representations**\n- Character names that are offensive, profane, or carry negative meaning in target locales\n- Stereotyped representation of nationalities, religions, or ethnic groups\n\nPresent findings as a table:\n\n| Finding | Locale(s) Affected | Severity | Recommended Action |\n|---------|--------------------|----------|--------------------|\n| [Description] | [Locale] | [BLOCKING \/ ADVISORY \/ NOTE] | [Change \/ Flag for review \/ Accept] |\n\nBLOCKING = must fix before shipping that locale. ADVISORY = recommend change. NOTE = informational only.\n\nAsk: \"May I write this cultural review report to `production\/localization\/cultural-review-[date].md`?\"\n\n---\n\n## Phase 2G: VO Pipeline Mode\n\nManage the voice-over localization process. Determine the sub-task from the argument:\n\n- `vo-pipeline scan` \u2014 identify all dialogue lines that require VO recording\n- `vo-pipeline script` \u2014 generate recording scripts with director notes\n- `vo-pipeline validate` \u2014 check that all recorded VO files are present and correctly named\n- `vo-pipeline integrate` \u2014 verify VO files are correctly referenced in code\/assets\n\n### VO Pipeline: Scan\n\nRead `assets\/data\/strings\/` and `design\/narrative\/`. Identify:\n- All dialogue lines (keys matching `dialogue.*`) with source text\n- Lines already recorded (audio file exists in `assets\/audio\/vo\/`)\n- Lines not yet recorded\n\nOutput a recording manifest:\n\n```\n## VO Recording Manifest \u2014 [Date]\n\n| Key | Character | Source Line | Status |\n|-----|-----------|-------------|--------|\n| dialogue.npc.merchant.greeting | Merchant | \"Welcome, traveller.\" | Recorded |\n| dialogue.npc.merchant.haggle | Merchant | \"That's my final offer.\" | Needs recording |\n```\n\n### VO Pipeline: Script\n\nGenerate a recording script document for each character, grouped by scene. Include:\n\n- Character name and brief personality note\n- Full dialogue line with pronunciation guide for unusual proper nouns\n- Emotion\/direction note for each line (`[Warm, welcoming]`, `[Annoyed, clipped]`)\n- Any lines that are responses in a conversation (provide context: \"Player just said X\")\n\nAsk: \"May I write the VO recording scripts to `production\/localization\/vo-scripts-[locale]-[date].md`?\"\n\n### VO Pipeline: Validate\n\nGlob `assets\/audio\/vo\/[locale]\/` for all `.wav`\/`.ogg` files. Cross-reference against the VO manifest. Report:\n- Missing files (line in script, no audio file)\n- Extra files (audio file exists, no matching string key)\n- Naming convention violations\n\n### VO Pipeline: Integrate\n\nGrep the code root for VO audio references. Verify each referenced path exists in `assets\/audio\/vo\/[locale]\/`. Report broken references.\n\n---\n\n## Phase 2H: RTL Check Mode\n\nRight-to-left languages (Arabic, Hebrew, Persian, Urdu) require layout mirroring beyond\njust translating text. This mode validates the implementation.\n\nDetermine the engine: read `engine.name` from `project.yaml`; if that key is absent or empty (including when `project.yaml` has no `engine:` block), fall back to `.claude\/docs\/technical-preferences.md`. Then check:\n\n**Layout mirroring**\n- Is RTL layout enabled in the engine? (Godot: `Control.layout_direction`, Unity: `RTL Support` package, Unreal: text direction flags)\n- Are all UI containers set to auto-mirror, or are positions hardcoded?\n- Do progress bars, health bars, and directional indicators mirror correctly?\n\n**Text rendering**\n- Are fonts loaded that support Arabic\/Hebrew character sets?\n- Is Arabic text rendered with correct ligatures (connected script)?\n- Are numbers displayed as Eastern Arabic numerals where required?\n\n**String assembly**\n- Are there any string concatenations that assume left-to-right reading order?\n- Do `{placeholder}` positions in sentences work correctly when sentence structure is reversed?\n\n**Asset review**\n- Are there UI icons with directional arrows or asymmetric designs that need mirrored variants?\n- Do any text-in-image assets exist that require RTL versions?\n\nGrep patterns to check:\n- Engine-specific RTL flags in scene\/prefab files\n- Any `HBoxContainer`, `LinearLayout`, `HorizontalBox` nodes \u2014 verify layout_direction settings\n- String concatenation with `+` near dialogue or UI code\n\nReport findings. Flag BLOCKING issues (content unreadable without fix) vs ADVISORY (cosmetic improvements).\n\nAsk: \"May I write this RTL check report to `production\/localization\/rtl-check-[date].md`?\"\n\n---\n\n## Phase 2I: Freeze Mode\n\nString freeze locks the source (English) string table so that translations can proceed\nwithout the source changing under the translators.\n\n### freeze call\n\nCheck current freeze status in `production\/localization\/freeze-status.md` (if it exists).\n\nIf already frozen:\n> \"String freeze is currently ACTIVE (called [date]). [N] strings have been added or modified since freeze. These are freeze violations \u2014 they require re-translation or an approved freeze lift.\"\n\nIf not frozen, present the pre-freeze checklist:\n\n```\nPre-Freeze Checklist\n[ ] All planned UI screens are implemented\n[ ] All dialogue lines are final (no further narrative revisions planned)\n[ ] All system strings (error messages, tutorial text) are complete\n[ ] \/localize scan shows zero hardcoded strings\n[ ] \/localize validate shows no placeholder mismatches in source (en)\n[ ] Marketing strings (store description, achievements) are final\n```\n\nUse `AskUserQuestion`:\n- Prompt: \"Call string freeze now? This writes `production\/localization\/freeze-status.md` (Status: ACTIVE) and locks the source table.\"\n- Options: `[A] Yes \u2014 call string freeze now` \/ `[B] No \u2014 I still have strings to add`\n\nIf [A]: Write `production\/localization\/freeze-status.md`:\n\n```markdown\n# String Freeze Status\n\n**Status**: ACTIVE\n**Called**: [date]\n**Called by**: [user]\n**Total strings at freeze**: [N]\n\n## Post-Freeze Changes\n[Any strings added or modified after freeze are listed here automatically by \/localize extract]\n```\n\n### freeze lift\n\nIf argument includes `lift`: ask \"May I update `freeze-status.md` to LIFTED?\", then set its Status to `LIFTED` and record the reason and date. Warn: \"Lifting the freeze requires re-translation of all modified strings. Notify the translation team.\"\n\n### freeze check (auto-integrated into extract)\n\nWhen `extract` mode finds new or modified strings and `freeze-status.md` shows Status: ACTIVE \u2014 name `freeze-status.md` in extract's own \"May I write\" question, append the new keys to its `## Post-Freeze Changes` on approval, and warn:\n> \"\u26a0\ufe0f String freeze is active. [N] new\/modified strings have been added. These are freeze violations. Notify your localization vendor before proceeding.\"\n\n---\n\n## Phase 2J: QA Mode\n\nLocalization QA is a dedicated pass that runs after translations are delivered but\nbefore any locale ships. This is not the same as `\/localize validate` (which checks\ncompleteness) \u2014 this is a structured playthrough-based quality check.\n\nSpawn `localization-lead` via `Agent` with:\n- The target locale(s) to QA\n- The list of all screens\/flows in the game (from `design\/gdd\/` or `\/content-audit` output)\n- The current `\/localize validate` report\n- The cultural review report (if it exists)\n\nAsk the localization-lead to produce a QA plan covering:\n\n1. **Functional string check** \u2014 every string displays in-game without truncation, placeholder errors, or encoding corruption\n2. **UI overflow check** \u2014 translated strings that exceed UI bounds (even if within character limits, some languages expand)\n3. **Contextual accuracy** \u2014 a sample of 10% of strings reviewed in-game for translation accuracy and natural phrasing\n4. **Cultural review items** \u2014 verify all BLOCKING items from the cultural review are resolved\n5. **VO sync check** \u2014 if VO exists, verify lip sync or subtitle timing is acceptable after translation\n6. **Platform cert requirements** \u2014 check platform-specific localization requirements (age ratings text, legal notices, ESRB\/PEGI\/CERO text)\n\nOutput a QA verdict per locale:\n\n```\n## Localization QA Verdict \u2014 [Locale]\n\n**Status**: PASS \/ PASS WITH CONDITIONS \/ NOT ASSESSED \/ FAIL\n**Reviewed by**: localization-lead\n**Date**: [date]\n\n### Findings\n| ID | Area | Description | Severity | Status |\n|----|------|-------------|----------|--------|\n| LOC-001 | UI Overflow | \"Settings\" button text overflows on [Screen] | BLOCKING | Open |\n| LOC-002 | Translation | [Key] translation is literal \u2014 sounds unnatural | ADVISORY | Open |\n\n### Conditions (if PASS WITH CONDITIONS)\n- [Condition 1 \u2014 must resolve before ship]\n\n### Sign-Off\n[ ] All BLOCKING findings resolved\n[ ] Producer approves shipping [Locale]\n```\n\nFirst match wins: **FAIL** if any BLOCKING finding is open; else **NOT ASSESSED**\nif a check could not run \u2014 the checks are playthrough-based, so a locale nobody\nhas played in-game (or whose translations were not delivered) cannot pass on the\nstring tables alone; name each check that did not run; else **PASS WITH\nCONDITIONS** if conditions remain; else **PASS**. NOT ASSESSED outranks both\npass values \u2014 an unplayed locale has not passed \u2014 and ranks below FAIL, so an\nopen BLOCKING finding is never buried behind it.\n\nAsk: \"May I write this localization QA report to `production\/localization\/loc-qa-[locale]-[date].md`?\"\n\n**Gate integration**: At `workflow: full`, the Polish \u2192 Release gate requires a PASS or PASS WITH CONDITIONS verdict for every translated locale being shipped (recommended at `standard`; dropped at `minimal`). A FAIL blocks release for that locale only \u2014 other locales may still proceed if their QA passes. A NOT ASSESSED locale has not passed: its QA did not run.\n\n---\n\n## Phase 3: Rules and Next Steps\n\n### Rules\n- English (en) is always the source locale\n- Every string table entry must include a `context` field with translator notes, character limits, and placeholder meaning\n- Never modify translation files directly \u2014 generate diffs for review\n- Character limits must be defined per-UI-element and enforced in validate mode\n- String freeze must be called before sending strings to translators \u2014 never translate a moving target\n- RTL support must be designed in from the start \u2014 retrofitting RTL layout is expensive\n- Cultural review is required for any locale where the game will be sold commercially\n- VO scripts must include director notes \u2014 raw dialogue lines produce flat recordings\n\n### Recommended Workflow\n\n```\n\/localize scan            \u2192 find hardcoded strings\n\/localize extract         \u2192 build string table\n\/localize freeze          \u2192 lock source before sending to translators\n\/localize brief           \u2192 generate translator briefing document\n[Send to translators]\n\/localize validate        \u2192 check returned translations\n\/localize cultural-review \u2192 flag culturally sensitive content\n\/localize rtl-check       \u2192 if shipping Arabic \/ Hebrew \/ Persian\n\/localize vo-pipeline     \u2192 if shipping dubbed VO\n\/localize qa              \u2192 full localization QA pass\n```\n\nAfter `qa` returns PASS or PASS WITH CONDITIONS for every translated locale you ship, include the QA report paths when running `\/gate-check release`.\n","use_cases":["Extracting localizable strings from codebase","Validating translations against source strings","Cultural review of localized content","Preparing for voice-over recording","Final QA pass before release"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/localize\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-17T18:10:28.000000Z","updated_at":"2026-11-18T12:52:01.000000Z","seo_title":"Localization Pipeline Management","seo_description":"Complete localization workflow from string extraction to cultural review and QA.","seo_keywords":["localization pipeline","string extraction","translation validation","cultural review","voice-over pipeline","localization QA"]}}