localize

localize is a skill for Claude Code from pixel-cellar/Claude-Code-Game-Studios. It costs 36 tokens per session (874 once invoked), scanned A, original, MIT.

A localization workflow for finding user-visible text, building translation string tables, checking translations, and reporting localization status. Localization means adapting software text and formatting for different languages and regions.

In plain words
What is it for?
Use it to scan source code, extract new strings, validate translation files, check dates and numbers for regional formats, and measure translation coverage.
Why use it?
It finds hard-coded text, missing translations, placeholder mistakes, formatting problems, and unused translation keys before they reach users.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to scan source code, extract new strings, validate translation files, check dates and numbers for regional formats, and measure translation coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pixel-cellar/claude-code-game-studios/localize
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pixel-cellar/Claude-Code-Game-Studios --skill localize
Clone the repo
git clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-Studios

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for localize

README.md
[![agentmods](https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/localize/github.svg)](https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/localize)
Your own site
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/localize"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/localize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for localize

Your own site · 80×15
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/localize"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/localize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00874
Opus 5.5 $0.00014 $0.00350
Sonnet 5.5 $0.00007 $0.00175
Haiku 4.5 $0.00004 $0.00087

Measured 1mo ago against content hash 86347bddae12, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

localize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/localize/SKILL.md · 72 lines

What it actually says

当此技能被调用时:

  1. 解析子命令参数:

    • scan — 扫描本地化问题(硬编码字符串、缺失键)
    • extract — 提取新字符串并生成/更新字符串表
    • validate — 验证现有翻译的完整性和格式
    • status — 报告整体本地化状态
  2. 对于 scan:

    • 搜索 src/ 中的硬编码面向用户的字符串:
      • UI 代码中未被本地化函数包裹的字符串字面量
      • 应该参数化的拼接字符串
      • 使用位置占位符(%s、%d)而非命名占位符({playerName})的字符串
    • 搜索本地化反模式:
      • 未使用区域感知函数的日期/时间格式化
      • 未考虑区域设置的数字格式化
      • 嵌入在图片或纹理中的文本(标记资源文件)
      • 假设从左到右文本方向的字符串
    • 报告所有发现,包含文件路径和行号
  3. 对于 extract:

    • 扫描所有源文件中的本地化字符串引用
    • 与 assets/data/ 中的现有字符串表(如有)进行对比
    • 为尚未有键的字符串生成新条目
    • 按照命名约定建议键名:[category].[subcategory].[description]
    • 输出要添加到字符串表的新字符串的差异
  4. 对于 validate:

    • 读取 assets/data/ 中的所有字符串表文件
    • 检查每个条目的:
      • 缺失翻译(键存在但某区域没有翻译)
      • 占位符不匹配(源文本有 {name} 但翻译缺失)
      • 字符串长度违规(超过 UI 元素的字符限制)
      • 孤立键(翻译存在但代码中没有引用该键)
    • 按区域和严重级别分组报告验证结果
  5. 对于 status:

    • 统计可本地化字符串总数
    • 按区域:统计已翻译、未翻译和过时(源文本自翻译后已更改)的数量
    • 生成覆盖率矩阵:
## 本地化状态
生成日期:[日期]

| 区域 | 总计 | 已翻译 | 缺失 | 过时 | 覆盖率 |
|------|------|--------|------|------|--------|
| en (源) | [N] | [N] | 0 | 0 | 100% |
| [区域] | [N] | [N] | [N] | [N] | [X]% |

### 问题
- 源代码中发现 [N] 个硬编码字符串
- [N] 个字符串超出字符限制
- [N] 个占位符不匹配
- [N] 个孤立键(可清理)

规则

  • 英语 (en) 始终为源区域
  • 每个字符串表条目必须包含解释上下文的翻译者注释
  • 永远不要直接修改翻译文件 — 生成差异供审核
  • 字符限制必须按 UI 元素定义并自动执行
  • 从右到左 (RTL) 语言支持应从一开始就考虑,而非事后追加
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 72 lines · 36 tokens per session scan A 86347bddae12

Subscribe to this mod's changes

localize is a skill published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (361 stars, last pushed 6mo ago), licensed MIT. It adds 36 tokens to every session and 874 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

docs-governance

Use when writing, restructuring, auditing, or reviewing Cherry Studio repository documentation, READMEs, JSDoc, comments, Agent instructions, or paired English/Chinese docs, including source-linked documentation impact checks.

CherryHQ/cherry-studio · 47 tokens