i18n-sync

Instructions for keeping GitWand's five language files consistent. English is the source file, while French, Spanish, Brazilian Portuguese, and Chinese must have the same nested key structure.

In plain words
What is it for?
Use it when adding interface text, translating content, fixing missing locale keys, synchronising languages, or adding a feature that displays text.
Why use it?
Adding or changing interface text can leave languages out of sync, causing missing translations or unused keys. The instructions define how to audit, translate, and synchronise the files.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/devlint/gitwand/i18n-sync
Any agent
npx skills add devlint/GitWand --skill i18n-sync
Clone the repo
git clone --depth 1 https://github.com/devlint/GitWand

Made for: Claude Code, Codex.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00075 $0.01165
Opus 5 $0.00037 $0.00583
Sonnet 5 $0.00015 $0.00233
Haiku 4.5 $0.00007 $0.00117

Measured 2d ago against content hash 0981df145c8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

i18n-sync 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 2d 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/i18n-sync/SKILL.md · 138 lines

How it starts

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

Contexte

Les 5 fichiers de locale se trouvent dans apps/desktop/src/locales/ :

  • en.ts — source de vérité (objet TypeScript imbriqué const en = { ... })
  • fr.ts, es.ts, pt-BR.ts, zh-CN.ts — doivent refléter exactement la même structure

Les locales utilisent des objets imbriqués (pas de clés dot-notation plates) :

const fr = {
  common: {
    cancel: "Annuler",
    save: "Enregistrer",
  },
  // ...
}

Les composants Vue consomment les clés via useI18n() :

const { t } = useI18n()
// template: {{ t('common.save') }}

Choix du mode

Au démarrage, demander à l'utilisateur quel mode il souhaite — sauf si le contexte est explicite (ex : "j'ai ajouté un bouton", "il faut traduire X") : aller directement en Mode 3.


Mode 1 — Audit

Objectif : détecter les désynchronisations sans modifier aucun fichier.

  1. Lire en.ts et extraire récursivement toutes les clés (chemin dot-notation : common.cancel, branches.create, …)
  2. Faire de même pour fr.ts, es.ts, pt-BR.ts, zh-CN.ts
  3. Pour chaque locale, calculer :
    • Clés manquantes : présentes dans en.ts mais absentes de la locale
    • Clés orphelines : présentes dans la locale mais absentes de en.ts
  4. Afficher le tableau récapitulatif :
Locale     | Clés manquantes | Clés orphelines
-----------|-----------------|----------------
fr.ts      | 0               | 0
es.ts      | 3               | 0
pt-BR.ts   | 1               | 2
zh-CN.ts   | 0               | 0
  1. Lister les clés concernées sous le tableau (regroupées par locale)
  2. Signaler les clés orphelines séparément — elles peuvent indiquer une fonctionnalité supprimée ; demander à l'utilisateur si elles doivent être retirées

Mode 2 — Scaffold (correction automatique)

Objectif : corriger toutes les désynchronisations détectées.

Pour chaque clé manquante dans une locale :

  • Ajouter la clé avec la valeur anglaise et le commentaire // TODO: translate
  • Respecter la position de la clé dans le groupe imbriqué correspondant (ordre de en.ts)
  • Ne jamais supprimer de clé existante sans confirmation explicite

Read the full file on GitHub · 138 lines

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. 2d ago First seen · 138 lines · 75 tokens per session scan A 0981df145c8f

Subscribe to this mod's changes

i18n-sync is a skill published in the GitHub repository devlint/GitWand (167 stars, last pushed 4d ago), licensed MIT. It adds 75 tokens to every session and 1,165 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

add-localization

Add or update a language translation in the privacy policy generator. Trigger when user says: "add {language} translation", "add locale", "translate to {language}", "add localization for {language}", or when a user wants to contribute a new language.

nisrulz/app-privacy-policy-generator · 56 tokens

i18n-localization

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

vudovn/ag-kit · 27 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 246 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

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready.

childrentime/reactuse · 32 tokens