Перейти к содержанию
Skillpedia
Тексты33k · #8461

localize

Что он делает

Этот скилл выполняет шаги, нужные для перевода игры на другие языки: от поиска жёстко заданного текста до проверки переводов и раскладок справа налево. Он нужен игровым командам, которые готовят локализованный релиз.

Когда использовать

  • ✓Когда в игре текст записан прямо в коде и его нужно перенести в файлы переводов.
  • ✓Когда команда хочет проверить, что переводы полные и помещаются на экран.
  • ✓Когда игра готовится к языку с письмом справа налево.

Ссылка на скилл

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/localize/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/localize/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Найди весь жёстко заданный текст в моей игре и подготовь его к переводу на испанский и немецкий.”

5 новых скиллов в неделю. 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 tables
  • validate — Check translations for completeness, placeholders, and length
  • status — Coverage matrix across all locales
  • brief — Generate translator context briefing document for an external team
  • cultural-review — Flag culturally sensitive content, symbols, colours, idioms
  • vo-pipeline — Manage voice-over localization: scripts, recording specs, integration
  • rtl-check — Validate RTL language layout, mirroring, and font support
  • freeze — Enforce string freeze; lock source strings before translation begins
  • qa — 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,000 vs 1.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
  • Each new entry must include a context field — 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 context field
  • 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.

repo: Donchitos/Claude-Code-Game-Studios

Популярность

Звёзды на GitHub
33k
Место в рейтинге
#8461
Лицензия
MIT
Обновлён
18.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы