Roo Translation
zgsm-ai/costrict
Provides comprehensive guidelines for translating and localizing CoStrict extension strings.
Add a new UI language/locale to the claude-code-gui webview i18n system, or extend/verify an existing one.
$ npx skills add Swttch/swttch --skill add-locale -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Swttch/swttch add-locale --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Swttch/swttch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-locale .claude/skills/add-locale && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-locale" agent skill from https://github.com/Swttch/swttch/tree/main/.claude/skills/add-locale into .claude/skills/add-locale/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-locale", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Swttch/swttch/tree/main/.claude/skills/add-localeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Swttch/swttch --skill add-locale -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Swttch/swttch add-locale --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Swttch/swttch.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-locale .agents/skills/add-locale && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-locale" agent skill from https://github.com/Swttch/swttch/tree/main/.claude/skills/add-locale into .agents/skills/add-locale/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-locale", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Swttch/swttch --skill add-locale -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Swttch/swttch add-locale --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Swttch/swttch.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-locale .cursor/skills/add-locale && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-locale" agent skill from https://github.com/Swttch/swttch/tree/main/.claude/skills/add-locale into .cursor/skills/add-locale/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-locale", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Swttch/swttch.git --path .claude/skills/add-locale--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Swttch/swttch --skill add-locale -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Swttch/swttch add-locale --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Swttch/swttch.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-locale .gemini/skills/add-locale && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-locale" agent skill from https://github.com/Swttch/swttch/tree/main/.claude/skills/add-locale into .gemini/skills/add-locale/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-locale", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Swttch/swttch add-localeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Swttch/swttch --skill add-locale -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Swttch/swttch.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-locale .github/skills/add-locale && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-locale" agent skill from https://github.com/Swttch/swttch/tree/main/.claude/skills/add-locale into .github/skills/add-locale/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-locale", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Swttch/swttch --skill add-locale -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Swttch/swttch add-locale --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Swttch/swttch.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-locale .opencode/skills/add-locale && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-locale" agent skill from https://github.com/Swttch/swttch/tree/main/.claude/skills/add-locale into .opencode/skills/add-locale/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-locale", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-localeAdd a new UI language/locale to the claude-code-gui webview i18n system, or extend/verify an existing one.
Add Locale is an agent skill from Swttch/swttch. Add a new UI language/locale to the claude-code-gui webview i18n system, or extend/verify an existing one. Walks a contributor (or agent) through creating the per-namespace translation JSON files, registering the locale, and verifying parity — consistently with how the shipped locales are structured. Use when someone wants to translate the UI into a new language, add a locale, or contribute translations. Trigger on: 언어 추가, 로케일 추가, 새 언어, 번역 추가, 번역 기여, add language, add locale, new language, translate the UI…
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Internationalization and Translation. It works with JetBrains IDEs. The repository describes itself as: Claude Code GUI plugin for JetBrains IDEs. (ex - Claude Code with GUI). The licence is AGPL-3.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5302f28. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bashnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Locale loads about 1.3k tokens when it runs. Until then it costs about 141 tokens; SKILL.md has 450 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Swttch/swttch at commit 5302f28, republished under its AGPL-3.0 licence (© Swttch). 450 words, ~1,251 tokens.
.claude/skills/add-locale/SKILL.md (or your agent's skills folder).The webview UI is internationalized with react-i18next. Every language is a
folder of JSON catalogs under webview/src/i18n/locales/<locale>/, one file per
namespace (page/area). English (en) is the source of truth and the
fallback for any missing key.
Adding a language = (1) create that folder of translated JSON, (2) register the
language in two small code spots. config.ts auto-loads locale files via a Vite
glob, so you never edit config.ts.
it (Italian),
pt-BR (Brazilian Portuguese), zh-TW (Traditional Chinese).italian. For script/region variants use a - suffix, e.g.
chinese-traditional.Italiano,
繁體中文. (Labels are endonym-only — no romanized prefix.)List the namespaces (these are the English source files):
ls webview/src/i18n/locales/en/
# chat chatTools commandPalette common notifications permissions
# projectSelector sessionPanel settings switchAccountCreate webview/src/i18n/locales/<locale>/<namespace>.json for every file in
en/. Translate the string values; keep the key structure identical to
the English file.
Rules — same as the shipped locales:
en/. Only values change.{{value}}, {{count}},
{{n}}, {{seconds}}, {{error}}, {{label}}, {{appName}}, … Keep whatever
the English value uses, in place.foo_one/foo_other),
produce the plural set your language needs. Languages with no plural distinction
(ko/ja/zh) keep the same suffix keys with identical text. Languages with more
categories (e.g. Russian: _one/_few/_many) may add those suffix keys — that
is correct even though it means more keys than English for those entries.CLAUDE_CONFIG_DIR), file paths, URLs, acronyms (CLI, MCP, IDE, OS, URL),
code identifiers, model names/IDs, shell commands, keyboard tokens (Cmd+K).a. webview/src/i18n/languageMap.ts
SUPPORTED_LOCALES.'<setting value>': '<locale>' to LANGUAGE_TO_LOCALE.b. webview/src/pages/SettingsPage/General/index.tsx
{ value: '<setting value>', label: '<endonym>' } to LANGUAGE_OPTIONS.config.ts picks up the new files automatically (glob) — do not edit it.
en
(plural suffix variants aside). Run:node -e '
const fs=require("fs"),p=require("path");
const base="webview/src/i18n/locales", L=process.argv[1];
const NS=fs.readdirSync(base+"/en").map(f=>f.replace(".json",""));
const leaves=(o,pre="")=>Object.entries(o).flatMap(([k,v])=>v&&typeof v==="object"&&!Array.isArray(v)?leaves(v,pre+k+"."):[pre+k]);
const norm=k=>k.replace(/_(zero|one|two|few|many|other)$/,"");
let miss=0;
for(const ns of NS){
const en=new Set(leaves(JSON.parse(fs.readFileSync(`${base}/en/${ns}.json`))).map(norm));
let tr; try{tr=new Set(leaves(JSON.parse(fs.readFileSync(`${base}/${L}/${ns}.json`))).map(norm));}catch(e){console.log(`MISSING FILE ${L}/${ns}.json`);miss++;continue;}
for(const k of en) if(!tr.has(k)){console.log(`${L}/${ns}: missing ${k}`);miss++;}
}
console.log(miss?`❌ ${miss} problems`:`✅ ${L} matches en`);
' <locale>bash ./scripts/build.sh wv-lint (must be clean).bash ./scripts/build.sh wv-test.© Swttch, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/add-locale of Swttch/swttch.
Open the folder on GitHubat commit 5302f28
Add Locale next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Locale this skillSwttch/swttch | 211 | — | ~1.3k | Automated safety check: Pass | AGPL-3.0 | |
| Roo Translationzgsm-ai/costrict | 4.5k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Chatbox i18n Translatorchatboxai/chatbox | 42k | — | ~508 | Automated safety check: Pass | GPL-3.0 | |
| Enforce Rules For I18nmoeru-ai/airi | 50k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Translation ReviewDevolutions/UniGetUI | 26k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Lingui Best PracticesB0und/WikiSpeedrun | 133 | 2 repos | ~4.2k | Automated safety check: Pass | MIT |
zgsm-ai/costrict
Provides comprehensive guidelines for translating and localizing CoStrict extension strings.
chatboxai/chatbox
Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.
moeru-ai/airi
Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.
Devolutions/UniGetUI
Reviews UniGetUI .json language files for localization quality, detects parity issues, English-equal entries, wrong-script content, and cross-language outliers, then generates a dataset for…
B0und/WikiSpeedrun
Implement internationalization with Lingui in React and JavaScript applications.
AliceJump/ok-end-field
Maintain gettext translations for ok-script task UI and runtime messages.
Swttch/swttch
Pre-PR review checklist for the claude-code-gui-jetbrains project.
Works with
Categories
Add a new UI language/locale to the claude-code-gui webview i18n system, or extend/verify an existing one. Add Locale is an agent skill from Swttch/swttch. Add a new UI language/locale to the claude-code-gui webview i18n system, or extend/verify an existing one.
Add Locale fits situations like: someone wants to translate the UI into a new language; contribute translations; translate the UI; contribute a translation.
Run `npx skills add Swttch/swttch --skill add-locale -a claude-code`. Or copy the skill folder (.claude/skills/add-locale in Swttch/swttch) into .claude/skills/add-locale in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Swttch/swttch --skill add-locale -a codex`. Or copy the skill folder (.claude/skills/add-locale in Swttch/swttch) into .agents/skills/add-locale in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Swttch/swttch --skill add-locale -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-locale, .gemini/skills/add-locale, .github/skills/add-locale and .opencode/skills/add-locale in your project.
Going by SKILL.md and its folder, Add Locale needs the command-line tools its instructions call (bash and node).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Locale is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Locale: Roo Translation (zgsm-ai/costrict, 4.5k stars), Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Enforce Rules For I18n (moeru-ai/airi, 50k stars) and Translation Review (Devolutions/UniGetUI, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Swttch (a GitHub organization) maintains it in Swttch/swttch, which has 211 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 9, 2026.
Source: Swttch/swttch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.