Langsung ke konten
Skillpedia
Menulis33k Β· #8461

localize

Fungsinya

Skill ini menjalankan langkah-langkah yang dibutuhkan untuk menerjemahkan game ke bahasa lain, mulai dari menemukan teks yang ditulis langsung di kode hingga memeriksa terjemahan dan tata letak dari kanan ke kiri. Cocok untuk tim game yang menyiapkan rilis lokal.

Kapan dipakai

  • βœ“Saat sebuah game memiliki teks yang ditulis langsung di kode dan perlu dipindahkan ke file terjemahan.
  • βœ“Saat sebuah tim ingin memeriksa bahwa terjemahan sudah lengkap dan muat di layar.
  • βœ“Saat sebuah game sedang menyiapkan bahasa yang ditulis dari kanan ke kiri.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/localize/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTemukan semua teks yang ditulis langsung di kode game saya dan siapkan untuk diterjemahkan ke bahasa Spanyol dan Jerman.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill menjalankan salah satu dari beberapa mode, seperti memindai teks yang ditulis langsung, mengekstrak tabel string, memvalidasi terjemahan, atau menjalankan siklus kualitas penuh. Anda memilih mode yang dibutuhkan, dan skill mencakup proses dari ekstraksi teks hingga pemeriksaan akhir.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah skill ini menerjemahkan teksnya sendiri?

Skill menyiapkan dan memeriksa prosesnya, termasuk dokumen brief untuk tim penerjemah dari luar.

Apa itu string freeze?

Itu adalah titik ketika teks sumber dikunci, sehingga penerjemah bekerja dengan teks yang tidak akan berubah.

Apa yang diperiksa oleh tinjauan budaya?

Skill menandai konten seperti simbol, warna, dan ungkapan yang mungkin tidak cocok untuk setiap wilayah.

Detail

Deskripsi asli dari pembuat

Localization pipeline β€” find hardcoded strings, extract string tables, cultural review, VO, RTL, enforce string freeze.

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

Bintang GitHub
33k
Peringkat
#8461
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa