localize
できること
このスキルは、ゲームを他の言語へ翻訳するために必要な工程を実行します。コードに直接書かれたテキストの発見から、翻訳の確認、右から左へ読む言語のレイアウトの確認までを扱います。ローカライズ版の準備をするゲームチームのためのものです。
使う場面
- ✓ゲームに、コードへ直接書かれたテキストがあり、翻訳用ファイルへ移す必要があるとき。
- ✓翻訳が完全で、画面に収まっているかを確認したいとき。
- ✓ゲームが右から左へ読む言語に対応する準備をしているとき。
スキルのリンク
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/localize/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ゲーム内にあるコードに直接書かれたテキストをすべて見つけて、スペイン語とドイツ語への翻訳に備えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、いくつかのモードのうち1つを実行します。たとえば、直接書かれたテキストの走査、文字列テーブルの抽出、翻訳の検証、または完全な品質確認の周期です。必要なモードを選ぶと、テキストの抽出から最終確認までを扱います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation
Localization Pipeline
Localization is not just translation — it is the full process of making a game feel native in every language and region. Poor localization breaks immersion, confuses players, and blocks platform certification. This skill covers the complete pipeline from string extraction through cultural review, VO recording, RTL layout testing, and localization QA sign-off.
Modes:
scan— Find hardcoded strings and localization anti-patterns (read-only)extract— Extract strings and generate translation-ready tablesvalidate— Check translations for completeness, placeholders, and lengthstatus— Coverage matrix across all localesbrief— Generate translator context briefing document for an external teamcultural-review— Flag culturally sensitive content, symbols, colours, idiomsvo-pipeline— Manage voice-over localization: scripts, recording specs, integrationrtl-check— Validate RTL language layout, mirroring, and font supportfreeze— Enforce string freeze; lock source strings before translation beginsqa— Run the full localization QA cycle before release
If no subcommand is provided, output usage and stop. Verdict: FAIL — missing required subcommand.
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
Phase 2A: Scan Mode
Search 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 — code root unresolved rather than zero hits. Zero hits from an unresolved root reads as "nothing to localize", which is the failure this guards:
- String literals in UI code not wrapped in a localization function (
tr(),Tr(),NSLocalizedString,GetText, etc.) - Concatenated strings that should be parameterized
- Strings with positional placeholders (
%s,%d) instead of named ones ({playerName}) - Format strings that mix locale-sensitive data (numbers, dates, currencies) without locale-aware formatting
Search for localization anti-patterns:
- Date/time formatting not using locale-aware functions
- Number formatting without locale awareness (
1,000vs1.000) - Text embedded in images or textures (flag asset files in
assets/) - Strings that assume left-to-right text direction (positional layout, string assembly order)
- Gender/plurality assumptions baked into string logic (must use plural forms or gender tokens)
- Hardcoded punctuation (e.g.
"You won!"— exclamation styles vary by locale)
Report all findings with file paths and line numbers. This mode is read-only — no files are written.
Phase 2B: Extract Mode
- Scan all source files for localized string references
- Compare against the existing string table in
assets/data/strings/ - Generate new entries for strings not yet keyed
- Suggest key names following the convention:
[category].[subcategory].[description]- Example:
ui.hud.health_label,dialogue.npc.merchant.greeting,menu.main.play_button
- Example:
- Each new entry must include a
contextfield — a translator comment explaining:- Where it appears (which screen, which scene)
- Maximum character length
- Any placeholder meaning (
{playerName}= the player's chosen display name) - Gender/plurality context if applicable
Output a diff of new strings to add to the string table.
Present the diff to the user. Ask: "May I write these new entries to assets/data/strings/strings-en.json?"
If yes, write only the diff (new entries), not a full replacement. Verdict: COMPLETE — strings extracted and written.
Phase 2C: Validate Mode
Read all string table files in assets/data/strings/. For each locale, check:
- Completeness — key exists in source (en) but no translation for this locale
- Placeholder mismatches — source has
{name}but translation omits it or adds extras - String length violations — translation exceeds the character limit recorded in the source
contextfield - Plural form count — locale requires N plural forms; translation provides fewer
- Orphaned keys — translation exists but nothing in the code root references the key
- Stale translations — source string changed after translation was written (flag for re-translation
よくある質問
テキストそのものを翻訳しますか?
工程の準備と確認を行います。外部の翻訳チームに渡すための説明文書も含みます。
文字列の凍結とは何ですか?
翻訳者が変わらないテキストで作業できるように、原文を固定する時点のことです。
文化的な確認では何を見ますか?
地域によって合わないかもしれない記号、色、慣用句などにフラグを立てます。
詳細
作者による元の説明
Localization pipeline — find hardcoded strings, extract string tables, cultural review, VO, RTL, enforce string freeze.
人気
- GitHubのスター
- 33k
- ランキング
- #8461
- ライセンス
- MIT
- 更新日
- 2026/10/18
コメント
- …
このリポジトリの他のスキル
adopt
33k既存のゲームプロジェクトの文書がスタジオのテンプレートの形式に従っているか確認し、ギャップを直すための番号付きの移行計画を書きます。
architecture-decision
33k技術的な選択についてアーキテクチャの判断記録を書き、背景、代替案、影響を記載し、適切な技術の役割によるレビューを受けます。
architecture-review
33k技術的な判断がすべての設計要件を満たし、互いに矛盾せず、エンジンのバージョンに合うかを確認し、明確な合格または懸念の判定を出します。
art-bible
33kゲームのビジュアルのアイデンティティを定義するアートバイブルを書き、アセット制作が一つの明確なスタイルのルールに従うようにします。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。