localize

localize is a skill for Claude Code from tranhieutt/software_development_department. It costs 49 tokens per session (791 once invoked), scanned A, original, MIT.

A localization helper that manages translation files, language settings, and the text keys used by an application.

In plain words
What is it for?
Use it to scan for localization problems, extract new translation strings, validate translations, or check localization status.
Why use it?
It helps find untranslated or hardcoded text and keeps language versions complete and consistent.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to scan for localization problems, extract new translation strings, validate translations, or check localization status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranhieutt/software_development_department/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 tranhieutt/software_development_department --skill localize
Clone the repo
git clone --depth 1 https://github.com/tranhieutt/software_development_department

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/tranhieutt/software_development_department/localize/github.svg)](https://agentmods.dev/skills/tranhieutt/software_development_department/localize)
Your own site
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/localize"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/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/tranhieutt/software_development_department/localize"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/localize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 791 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.00049 $0.00791
Opus 5 $0.00024 $0.00396
Sonnet 5 $0.00010 $0.00158
Haiku 4.5 $0.00005 $0.00079

Measured 7d ago against content hash 0d8d9fa5cb31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 7d 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 · 74 lines

What it actually says

When this skill is invoked:

  1. Parse the subcommand from the argument:

    • scan — Scan for localization issues (hardcoded strings, missing keys)
    • extract — Extract new strings and generate/update string tables
    • validate — Validate existing translations for completeness and format
    • status — Report overall localization status
  2. For scan:

    • Search src/ for hardcoded user-facing strings:
      • String literals in UI code that are not wrapped in a localization function
      • Concatenated strings that should be parameterized
      • Strings with positional placeholders (%s, %d) instead of named ones ({playerName})
    • Search for localization anti-patterns:
      • Date/time formatting not using locale-aware functions
      • Number formatting without locale awareness
      • Text embedded in images or textures (flag asset files)
      • Strings that assume left-to-right text direction
    • Report all findings with file paths and line numbers
  3. For extract:

    • Scan all source files for localized string references
    • Compare against the existing string table (if any) in assets/data/
    • Generate new entries for strings that don't have keys yet
    • Suggest key names following the convention: [category].[subcategory].[description]
    • Output a diff of new strings to add to the string table
  4. For validate:

    • Read all string table files in assets/data/
    • Check each entry for:
      • Missing translations (key exists but no translation for a locale)
      • Placeholder mismatches (source has {name} but translation is missing it)
      • String length violations (exceeds character limits for UI elements)
      • Orphaned keys (translation exists but nothing references the key in code)
    • Report validation results grouped by locale and severity
  5. For status:

    • Count total localizable strings
    • Per locale: count translated, untranslated, and stale (source changed since translation)
    • Generate a coverage matrix:
    ## Localization Status
    Generated: [Date]
    
    | Locale | Total | Translated | Missing | Stale | Coverage |
    |--------|-------|-----------|---------|-------|----------|
    | en (source) | [N] | [N] | 0 | 0 | 100% |
    | [locale] | [N] | [N] | [N] | [N] | [X]% |
    
    ### Issues
    - [N] hardcoded strings found in source code
    - [N] strings exceeding character limits
    - [N] placeholder mismatches
    - [N] orphaned keys (can be cleaned up)
    

Rules

  • English (en) is always the source locale
  • Every string table entry must include a translator comment explaining context
  • Never modify translation files directly — generate diffs for review
  • Character limits must be defined per-UI-element and enforced automatically
  • Right-to-left (RTL) language support should be considered from the start, not bolted on later
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. 7d ago First seen · 74 lines · 49 tokens per session scan A 0d8d9fa5cb31

Subscribe to this mod's changes

localize is a skill published in the GitHub repository tranhieutt/software_development_department (72 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 791 once invoked, about $0.0002 per session on Opus 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

cm-safe-i18n

Use when translating, extracting, or mass-converting hardcoded strings to i18n t() calls. Enforces multi-pass batching, parallel-per-language dispatch, 8 audit gates, and HTML integrity checks. Battle-tested through 21+ batches and 12 bug categories from the March 2026 incidents.

tody-agent/codymaster · 68 tokens

hreflang-international

International / multilingual SEO audit focused on hreflang correctness. Detects and diagnoses the most common (and ranking-damaging) hreflang mistakes: missing or broken return tags, wrong language/region codes, missing x-default, self-referencing errors, conflicts between hreflang and canonical, and inconsistent…

nowork-studio/notfair-plugin · 242 tokens

i18n-parity

MANDATORY for every coding agent and contributor touching localized content — keep all five localization surfaces (dashboard UI keys, wiki page, mirrored READMEs, locale-aware formatting, language switchers) in parity across every supported language. Use automatically (without being asked) whenever you add or change…

hoangsonww/Claude-Code-Agent-Monitor · 138 tokens

extract-source-sample

Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…

gooseworks-ai/goose-skills · 160 tokens

amazon-global-selling

Evaluate and plan Amazon marketplace expansion across countries and regions. Use when a seller asks which Amazon marketplace to enter, how to compare international demand and economics, what tax, product-compliance, logistics, localization, account, or launch workstreams to investigate, or how to build a gated…

nexscope-ai/Amazon-Skills · 78 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens