localize
Skill này làm gì
Skill này thực hiện các bước cần thiết để dịch game sang ngôn ngữ khác, từ tìm văn bản viết cứng đến kiểm tra bản dịch và bố cục từ phải sang trái. Skill dành cho nhóm game chuẩn bị một bản địa hóa.
Khi nào nên dùng
- ✓Khi game có văn bản viết trực tiếp trong code và cần chuyển vào các tệp dịch.
- ✓Khi nhóm muốn kiểm tra bản dịch đã đầy đủ và vừa màn hình.
- ✓Khi game đang chuẩn bị cho một ngôn ngữ viết từ phải sang trái.
Liên kết skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/localize/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy tìm toàn bộ văn bản viết cứng trong game của tôi và chuẩn bị để dịch sang tiếng Tây Ban Nha và tiếng Đức.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy một trong nhiều chế độ, như quét văn bản viết cứng, trích xuất bảng chuỗi, kiểm tra bản dịch hoặc chạy toàn bộ chu trình chất lượng. Bạn chọn chế độ cần dùng, và skill bao phủ quy trình từ trích xuất văn bản đến kiểm tra cuối.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
!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
Câu hỏi thường gặp
Skill có tự dịch văn bản không?
Skill chuẩn bị và kiểm tra quy trình, bao gồm một tài liệu hướng dẫn cho nhóm dịch bên ngoài.
Đóng băng chuỗi là gì?
Đó là thời điểm văn bản nguồn bị khóa để người dịch làm việc trên nội dung sẽ không thay đổi.
Rà soát văn hóa kiểm tra những gì?
Nó đánh dấu các nội dung như biểu tượng, màu sắc và thành ngữ có thể không phù hợp với từng khu vực.
Chi tiết
Mô tả gốc của tác giả
Localization pipeline — find hardcoded strings, extract string tables, cultural review, VO, RTL, enforce string freeze.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8461
- Giấy phép
- MIT
- Cập nhật
- 18/10/2026
Bình luận
- …
Thêm skill từ kho mã này
adopt
33kKiểm tra xem tài liệu của một dự án game hiện có có tuân theo định dạng của mẫu studio hay không, rồi viết một kế hoạch di chuyển có đánh số để sửa các khoảng trống.
architecture-decision
33kViết một bản ghi quyết định kiến trúc cho một lựa chọn kỹ thuật, gồm bối cảnh, các phương án thay thế và hệ quả, với xem xét từ các vai trò kỹ thuật phù hợp.
architecture-review
33kKiểm tra các quyết định kỹ thuật của bạn có bao phủ mọi yêu cầu thiết kế, không mâu thuẫn và phù hợp với phiên bản động cơ, với kết luận đạt hoặc có mối lo ngại rõ ràng.
art-bible
33kViết một art bible xác định bản sắc thị giác của game, để việc sản xuất tài nguyên tuân theo một bộ quy tắc phong cách rõ ràng.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.