localization

localization is a skill for Claude Code from jame581/GodotPrompter. It costs 42 tokens per session (3,460 once invoked), scanned A, original, MIT.

A guide to translating Godot game text and switching languages while a game is running, using translation files and Godot's localization system.

In plain words
What is it for?
It helps add locale switching, translated interface text, CSV or PO translation files, and language-aware Godot interfaces.
Why use it?
It explains how to keep player-facing text translatable and support different languages, including plural forms and right-to-left layouts.

Skill for Claude Code

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

Part of the godot-prompter plugin — 61 skills, 9 agents, 2 hooks shipped together

Good fit It helps add locale switching, translated interface text, CSV or PO translation files, and language-aware Godot interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jame581/godotprompter/localization
About the project

GodotPrompter is a skills framework for Godot 4.x game development that gives AI coding agents structured guidance for GDScript and C# projects. It helps agents follow Godot-specific workflows for tasks such as project setup, gameplay systems, multiplayer, rendering, and shipping. The catalogue entries are GodotPrompter’s skills, agents, instructions, hooks, settings, and plugin components.

jame581/GodotPrompter · 1,019 stars · on GitHub

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 jame581/GodotPrompter --skill localization
Clone the repo
git clone --depth 1 https://github.com/jame581/GodotPrompter

Made for: Claude Code.

Or install godot-prompter, the plugin that ships this one along with the rest of its 61 skills, 9 agents, 2 hooks.

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 localization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jame581/godotprompter/localization"><img src="https://agentmods.dev/badge/skills/jame581/godotprompter/localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,460 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.03460
Opus 5.5 $0.00017 $0.01384
Sonnet 5.5 $0.00008 $0.00692
Haiku 4.5 $0.00004 $0.00346

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

Security

Grade A, and why

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 21d 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.

skills/localization/SKILL.md · 350 lines

How it starts

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

Localization in Godot 4.3+

All examples target Godot 4.3+ with no deprecated APIs; GDScript first, then C#.

Related skills: godot-ui for Control nodes and theme management, save-load for persisting language settings, responsive-ui for layout adjustments per locale.


1. Core Concepts

How Godot Localization Works

  1. Wrap all user-facing strings in tr() — Godot's translation function
  2. Create translation files (CSV or PO) mapping keys to translated strings
  3. Import translation files as Translation resources
  4. Switch locale at runtime via TranslationServer.set_locale()

All Control nodes with text, tooltip_text, or placeholder_text properties auto-translate when the value matches a translation key.

Translation Key Strategies

Strategy Example Key Pros Cons
Semantic keys MENU_START_GAME Clear intent, easy to find Needs a default language fallback
English-as-key Start Game Readable code, no mapping file for English Breaks if English text changes

Recommendation: Use semantic keys (MENU_START_GAME) for production; English-as-key only for prototypes or solo projects.


2. Translation Files

CSV Format

The simplest format. First column is the key, subsequent columns are locale codes.

keys,en,cs,de,ja
MENU_START,Start Game,Začít hru,Spiel starten,ゲームスタート
MENU_OPTIONS,Options,Nastavení,Optionen,オプション
MENU_QUIT,Quit,Ukončit,Beenden,終了
PLAYER_HEALTH,Health: %d,Zdraví: %d,Gesundheit: %d,体力: %d
ITEM_COLLECTED,%s collected!,%s sebráno!,%s gesammelt!,%sを入手!

Save as translations.csv in your project. Godot auto-detects the format on import.

Import settings (Import dock):

  • Delimiter: Comma (default), Semicolon, or Tab
  • Compress: on by default — stores an OptimizedTranslation, skipped for files that use ?context/?plural (§10)

PO Format (Gettext)

Industry-standard format, preferred by translation teams and tools like Poedit, Weblate, Crowdin.

Read the full file on GitHub · 350 lines

Files

What ships with it

4 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. 21d ago Changed · +2 lines 8185b9b3caa2
  2. 1mo ago Changed · +1 lines c86af685d665
  3. 1mo ago Changed e8203331e099
  4. 3mo ago First seen · 347 lines · 42 tokens per session scan A 37e3f1f77932

Subscribe to this mod's changes

localization is a skill published in the GitHub repository jame581/GodotPrompter (1,019 stars, last pushed 3d ago), licensed MIT. It adds 42 tokens to every session and 3,460 once invoked, about $0.0002 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

localization compared with skills from other repositories

localization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
localizationjame581/GodotPrompterSkill1.0k3d agoMITA42Claude Code
roblox-textTabooHarmony/roblox-brainSkill2392d agoMITA30Claude Code
dialogue-systemsgamedev-skills/awesome-gamedev-agent-skillsSkill13k4d agoApache-2.0A96Claude Code
godot-csharpgamedev-skills/awesome-gamedev-agent-skillsSkill13k4d agoApache-2.0A111Claude Code
unity-csharp-scriptinggamedev-skills/awesome-gamedev-agent-skillsSkill13k4d agoApache-2.0A91Claude Code
unity-cliAlex-Rachel/TEngineSkill2.4k16d agoMITA68Codex
roblox-cameraTabooHarmony/roblox-brainSkill2392d agoMITA38Claude Code