game-localization

game-localization is a skill for Claude Code from fcsouza/agent-skills. It costs 108 tokens per session (3,305 once invoked), scanned A, original, MIT.

A guide to preparing a browser game for multiple languages and writing systems.

In plain words
What is it for?
It covers string tables, plural and number formatting, right-to-left and CJK layouts, pseudo-locales, and translation workflow.
Why use it?
It prevents player-facing text, number formats, fonts, and layouts from breaking when translated or displayed in languages such as Arabic or Chinese.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the game-dev plugin — 39 skills shipped together

Good fit It covers string tables, plural and number formatting, right-to-left and CJK layouts, pseudo-locales, and translation workflow.

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

Made for: Claude Code.

Or install game-dev, the plugin that ships this one along with the rest of its 39 skills.

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 game-localization

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcsouza/agent-skills/game-localization/github.svg)](https://agentmods.dev/skills/fcsouza/agent-skills/game-localization)
Your own site
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/game-localization"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/game-localization/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 game-localization

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/game-localization"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/game-localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,305 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.00108 $0.03305
Opus 5.5 $0.00043 $0.01322
Sonnet 5.5 $0.00022 $0.00661
Haiku 4.5 $0.00011 $0.00331

Measured 19d ago against content hash f5c9df5af7a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

game-localization 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 19d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (boilerplate/intl-format.ts, boilerplate/pseudo-localize.ts, boilerplate/string-table.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/game-localization/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Game localization

Internationalize from the first string: externalize text, format through Intl, and turn on a pseudo locale. Translation comes later and costs far less when the code is ready for it.

Strings: IDs, comments, whole messages

  1. Keep every player-facing string in a resource file per language. Hard-coded text sends translators into source code, where they can break it (IGDA). The client bundle and any server renderer read the same catalog files.
  2. Key messages by stable semantic IDs (quest.ruins.offer, hud.gold.label), not by the English text. One English string can need different translations: Mozilla's example is "bookmark" as noun and verb, and Godot notes the same ambiguity with plain-English source strings, as opposed to message codes.
  3. When a string's meaning changes, give it a new ID, so old translations stop matching and translators see it as new (Mozilla). Fixing a typo keeps the ID.
  4. Never reuse one string in two places. A noun and a verb that look the same in English get two entries (Mozilla).
  5. Give each message a translator comment: where it shows, what each placeholder holds, what must stay untranslated, and a length budget for fixed-size UI. Keep it in the catalog next to the message, not in code the translator never sees. Fluent binds a comment placed right above a message to it, and tools show both together.
  6. Never build a sentence from fragments. Write one message with named placeholders, so translators can reorder the pieces (ICU, Mozilla). Ban template-literal sentences such as `${name} found ${n} ${item}` in client and server code.
  7. When an inserted part cannot agree with the fixed text (item names in loot toasts, quest names in log lines), use a topic-comment layout: "Picked up: {item}", not "You picked up a {item}". The fixed text then needs no gender or number agreement (W3C).
  8. Inside plural or select messages, write a full sentence in each branch. Put select outside and nest plural inside it (ICU).
  9. Prefer repeating text across messages to sharing fragments. Use variants only for grammar, and separate messages for UI logic (Fluent good practices).
  10. Keep brand names and glossary terms as referenced terms, so one change updates every message (Fluent terms).

Read the full file on GitHub · 141 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 19d ago First seen · 141 lines · 108 tokens per session scan A f5c9df5af7a5

Subscribe to this mod's changes

game-localization is a skill published in the GitHub repository fcsouza/agent-skills (29 stars, last pushed today), licensed MIT. It adds 108 tokens to every session and 3,305 once invoked, about $0.0004 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-11-15.

Related

game-localization compared with skills from other repositories

game-localization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
game-localizationfcsouza/agent-skillsSkill29todayMITA108Claude Code
dialogue-systemsgamedev-skills/awesome-gamedev-agent-skillsSkill13k3d agoApache-2.0A96Claude Code
localizeDonchitos/Claude-Code-Game-StudiosSkill42k24d agoMITA26Claude Code
maintaining-modding-environmentshashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A65Claude Code, Codex
using-bgs-translatorhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A94Claude Code, Codex
localizationjame581/GodotPrompterSkill1.0k2d agoMITA42Claude Code
roblox-textTabooHarmony/roblox-brainSkill239yesterdayMITA30Claude Code