Agent skill

Add Language

by econumo in econumo/econumo

Translate the Econumo app into a new language. An agent skill from econumo/econumo.

MITAuto-check passedFrontend & Design

Install Add Language

skills CLI
$ npx skills add econumo/econumo --skill add-language -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install econumo/econumo add-language --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/econumo/econumo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-language .claude/skills/add-language && rm -rf skills-src

Use ~/.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/

Facts

Skill name
add-language
GitHub stars
111
Token cost
~1.7k tokens
SKILL.md length
856 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Translate the Econumo app into a new language. An agent skill from econumo/econumo.

  • Works in 5 steps: Author locales/.json → Backend wiring — one line → Frontend wiring — three files → …
  • The user asks to translate the app
  • SKILL.md covers 1. Author locales/.json, 2. Backend wiring — one line, 3. Frontend wiring — three files and 4. Check for hardcoded-tag…, plus 1 more section
  • Calls pnpm, make and tsc

What it does

Add Language is an agent skill from econumo/econumo. Translate the Econumo app into a new language. Use whenever the user asks to translate the app, add a language ("add German", "translate to Spanish", "Polish support"), add a locale, or localize the UI — even if they never say "i18n" or "translation catalogue". Covers authoring the locales/<lang.json catalogue, the backend/frontend wiring, and the guard tests that must pass.

Its SKILL.md is about 1.7k 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. The repository describes itself as: Econumo - A personal and family budgeting app with multi-currency support, shared accounts, and flexible budgets. The licence is MIT.

When your agent uses it

  • The user asks to translate the app
  • Add a language (add German
  • Translate to Spanish
  • Polish support)

Example prompts

  • “add German”
  • “translate to Spanish”
  • “Polish support”
  • “/add-language”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Author locales/.json
  2. Backend wiring — one line
  3. Frontend wiring — three files
  4. Check for hardcoded-tag collisions
  5. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit d8f415a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • make
    • tsc

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Language loads about 1.7k tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 856 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from econumo/econumo at commit d8f415a, republished under its MIT licence (© econumo). 856 words, ~1,668 tokens.

Download SKILL.mdSave it as .claude/skills/add-language/SKILL.md (or your agent's skills folder).
name
add-language
description
Translate the Econumo app into a new language. Use whenever the user asks to translate the app, add a language ("add German", "translate to Spanish", "Polish support"), add a locale, or localize the UI — even if they never say "i18n" or "translation catalogue". Covers authoring the locales/<lang>.json catalogue, the backend/frontend wiring, and the guard tests that must pass.

Adding a language to Econumo

Both stacks share the same translation catalogues: locales/{en,ru,...}.json is embedded into the Go binary (locales/embed.go, //go:embed *.json) and imported by the SPA via Vite JSON imports. Adding a language is therefore one new catalogue file plus a handful of small wiring edits — everything else (the Accept-Language middleware, the update-language endpoint's validation, the i18ntest guard's language list) derives from i18n.Supported automatically.

Work through the steps in order; step 5 is the safety net that catches any slip in steps 1–4.

1. Author locales/<lang>.json

<lang> is the lowercase two-letter ISO 639-1 tag (de, es, pl).

Copy the exact key tree of en.json and translate only the values. The guard tests enforce key parity and {placeholder} parity per key, so:

  • Keep every {name} placeholder verbatim — translate around it, never rename it.
  • Add no keys, drop no keys, restructure nothing.

Translate all namespaces, including errors.* (the localized error catalogue the SPA renders from error codes) and emails.* (backend-rendered mail). The frozen English strings in the API envelope live in Go code and are a separate, untouchable contract — they are not part of this task.

Plurals are authored as a single pipe-joined value (i18next plural suffixes are NOT used). web/src/lib/plural.ts splits on " | " and picks:

  • 2 variants ("{count} item | {count} items"): first when count === 1, last otherwise. Use for languages that only distinguish one/other (German, Spanish, French, ...).
  • 3+ variants: Intl.PluralRules category — variant 0 for one, variant 1 for few, the last for everything else. Use 3 variants for languages with a few category (Russian, Polish, ...), ordered one | few | many.
  • Languages with richer plural systems than one/few/other (e.g. Arabic) must collapse into these three slots — pick the most natural collapse and say so in the PR description.

Find every plural key by grepping en.json for " | " and make sure your translation has the right variant count for the target language — placeholder parity won't catch a missing variant.

Quality — translate from BOTH en.json and ru.json, not en alone. English UI strings are short and often ambiguous out of context: "Clear" could mean erase or transparent, "Transfer" could be a noun or a verb, "Balance" has several senses in a finance app. The Russian translation was written by someone who knew the intended meaning, so reading the two side by side pins down what each key actually says — when your translation of a key wouldn't agree with both sources, you've probably misread the English. ru.json also answers questions en.json can't:

  • Register: Russian addresses the user formally («Вы уверены…», «Ваше имя»), so the app's established voice is formal — pick whatever register is conventional for software UI in the target language, but let ru's formality inform the call for languages where it's a real choice (German Sie, not du).
  • What stays untranslated: the "Econumo" brand, currency codes, icon names, format strings — visible in what ru left alone.

Pick one term per app concept (budget, envelope, payee, tag, ...) and use it consistently across all namespaces; inconsistency across the ~1200 lines is the most common quality failure.

Show full SKILL.md (358 more words)Show less

2. Backend wiring — one line

Append the tag to Supported in internal/infra/i18n/i18n.go:

go
var Supported = []string{"en", "ru", "de"}

Index 0 is the English fallback — append, never reorder. This is the only mandatory backend edit; the embed glob picks the new file up, and language validation (newLanguage in internal/user/usecase.go), the middleware, and the guard tests all read i18n.Supported.

Also add the tag to the hardcoded []string{"en", "ru"} list in locales/embed_test.go so the embed-and-parse test covers the new catalogue.

3. Frontend wiring — three files

  • web/src/app/i18n.ts: import the JSON and register it in resources, mirroring the existing en/ru lines.
  • web/src/lib/config.ts getLocaleOptions(): add { value: 'de', label: 'Deutsch', short: 'DE' } — label is the language's own name in that language, short is two uppercase letters in the language's own script (compare РУ for Russian).
  • web/src/lib/calendarLocale.ts: map the tag to its react-day-picker/locale export so calendar captions/weekdays follow the app language. No guard test catches a miss here — forget it and calendars silently stay English.

The language dialog/badge and the browser-language detection in locale() all derive from getLocaleOptions(). Don't treat the list above as gospel, though — new per-language wiring can appear after this skill was written. The reliable check is to grep for how the existing non-English language is wired and mirror every hit:

bash
grep -rn "\bru\b" web/src/lib web/src/app web/src/components

(That grep is exactly how calendarLocale.ts was found after an earlier version of this skill missed it.)

4. Check for hardcoded-tag collisions

Some tests use a specific tag as an example of an unsupported locale — notably web/src/lib/config.test.ts uses 'de' for "ignores an unsupported stored locale". If your new language is used that way anywhere, the test's premise is now false and it will fail. Run:

bash
grep -rn "'<lang>'" web/src internal

and swap any "unsupported example" usage to a tag that is still unsupported (don't weaken the test — keep its intent, change only the sample tag).

5. Verify

bash
make go-test                                      # includes the i18ntest guards
cd web && pnpm test && pnpm lint && pnpm exec tsc -b

make go-test runs internal/test/i18ntest: key parity against en.json, {placeholder} parity per key, two-way errors.* ↔ errs.AllCodes coverage, and emails.* coverage — all for every language in i18n.Supported, so your new catalogue is under guard the moment step 2 lands. pnpm test/tsc -b catch the frontend wiring and any tag collision from step 4 (vitest and oxlint do not type-check — tsc -b is a required part of the gate).

© econumo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/add-language of econumo/econumo.

Open the folder on GitHubat commit d8f415a

Compare with similar skills

Add Language 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.

Add Language compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Language this skilleconumo/econumo111—~1.7kAutomated safety check: PassMIT
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0
Internationalization Workflow with i18niOfficeAI/AionUi33k1 repos~1.9kAutomated safety check: PassApache-2.0
Enforce Rules For I18nmoeru-ai/airi50k—~1.5kAutomated safety check: PassMIT
Claude Desktop Chinese Localizationjavaht/claude-desktop-zh-cn7.5k—~1.6kAutomated safety check: PassMIT
Translation ReviewDevolutions/UniGetUI26k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Chatbox i18n Translator

    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.

    42k GitHub stars~508 tokensUpdated 14 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Claude Desktop Chinese Localization

    javaht/claude-desktop-zh-cn

    Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.

    7.5k GitHub stars~1.6k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Translation Review

    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…

    26k GitHub stars~1.3k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend I18n

    langflow-ai/langflow

    Add, change, or review user-facing text in the Langflow frontend using the i18n system (i18next / react-i18next).

    156k GitHub stars~1k tokensUpdated today
    Frontend & DesignAuto-check passed

More from econumo/econumo

  • Publish Release

    econumo/econumo

    Publish a new Econumo release end-to-end — pick the version, dispatch the Publish Release GitHub workflow, watch the build, verify the published images, and replace the auto-generated GitHub release…

    111 GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Questions about Add Language

What does Add Language do?

Translate the Econumo app into a new language. An agent skill from econumo/econumo. Add Language is an agent skill from econumo/econumo. Translate the Econumo app into a new language.

When should I use Add Language?

Add Language fits situations like: the user asks to translate the app; add a language (add German; translate to Spanish; polish support).

How do I install Add Language in Claude Code?

Run `npx skills add econumo/econumo --skill add-language -a claude-code`. Or copy the skill folder (.claude/skills/add-language in econumo/econumo) into .claude/skills/add-language in your project. Claude Code loads it when a task matches its description.

How do I install Add Language in Codex?

Run `npx skills add econumo/econumo --skill add-language -a codex`. Or copy the skill folder (.claude/skills/add-language in econumo/econumo) into .agents/skills/add-language in your project. Codex loads it when a task matches its description.

Can I use Add Language in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add econumo/econumo --skill add-language -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-language, .gemini/skills/add-language, .github/skills/add-language and .opencode/skills/add-language in your project.

What does Add Language need to run?

Going by SKILL.md and its folder, Add Language needs the command-line tools its instructions call (pnpm, make and tsc).

Does Add Language access the network?

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.

Is Add Language safe to install?

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.

What licence does Add Language use?

Add Language is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Language use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Language?

Skills that share tags, products or a category with Add Language: Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars), Enforce Rules For I18n (moeru-ai/airi, 50k stars) and Claude Desktop Chinese Localization (javaht/claude-desktop-zh-cn, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Language?

econumo (a GitHub organization) maintains it in econumo/econumo, which has 111 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.

Source: econumo/econumo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.