Skip to content
Back to skills

I18n Edho Ferdian

ASecurity

Multi-language apps: add a language or key, translate locale JSON, fallback, a completeness gate in CI. Use for "tambah bahasa", "terjemahkan", "i18n", "sinkronkan locale", "ada key yang belum diterjemahkan".

  • 22 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsrustgotestingdatabasefrontend

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add edhoferdian/EEF --skill i18n-edho-ferdian --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of I18n Edho Ferdian?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for I18n Edho Ferdian
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/edhoferdian-i18n-edho-ferdian/badge)](https://www.skillsdirectory.com/skills/edhoferdian-i18n-edho-ferdian)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: i18n-edho-ferdian
description: >-
  Multi-language apps: add a language or key, translate locale JSON,
  fallback, a completeness gate in CI. Use for "tambah bahasa",
  "terjemahkan", "i18n", "sinkronkan locale", "ada key yang belum
  diterjemahkan".
metadata:
  last_reviewed: "2026-11-29"
---

# i18n — Edho Ferdian Mode

A multi-language product breaks on **completeness**, not on translation.
A key lands in the source pack only. A label lives in a database row instead
of a template. An English literal hides as a "fallback". Copy changes and the
other packs keep the old meaning. None of that shows on the screen of someone
who reads the source language, so this skill turns each one into a failing
check instead of a bug report.

Scope boundary: this skill owns locales, packs, translation and the gate.
Extracting hard-coded strings out of components is `frontend-engineering`'s
job; `hreflang`, localized URLs and sitemaps are `seo-audit`'s; browser
journeys through every locale are `e2e-testing`'s.

## Modes

| Mode | Use it when | Read |
|---|---|---|
| `plan` | Starting a multi-language program, or the first language is about to be added | `references/surfaces-and-stacks.md`, then the planning list below |
| `gate` | Locales exist and nothing proves they stay complete | `references/completeness-gate.md` |
| `sync` | New or changed source keys need translations | `references/translate-and-sync.md` |
| `add-language` | One more locale | registry first (`references/locale-registry-and-fallback.md`), then `sync`, then `gate` |
| `audit` | "Are we really complete?" on an existing app | `gate`, then the pseudo-locale sweep in `completeness-gate.md` |

Infer the mode from the request; ask once only when two modes would do very
different work.

## The failure classes

| # | Failure | How it hides | Rail |
|---|---|---|---|
| F1 | Key only in the source pack | A call-site fallback renders the source language, so the page "works" | Key parity + no call-site fallbacks |
| F2 | Missing key blanks a region or prints the raw key | One layer has a fallback, another does not | One fallback policy, written once |
| F3 | Source copy changed, translations stale | Same key, new meaning | New meaning → new key (or a source hash) |
| F4 | Machine translation defects | Transliterated script, stripped diacritics, one term translated three ways | Script check, glossary, native review gate |
| F5 | Data-driven text untranslated | Statuses, categories, CMS text live in data | Codes in data, labels in packs, coverage check |
| F6 | Proper nouns inconsistent | "Do not translate" never decided | A keep-as-is list the gate reads |
| F7 | Non-ASCII mangled on import | Default encoding at a boundary | Explicit encoding + a non-ASCII fixture |
| F8 | Locale files missing from the build | Packaging lists files by hand | Test the built artifact |
| F9 | Language list drifts | Codes kept in three places | One registry everything derives from |
| F10 | RTL shipped LTR | `dir` never set, physical CSS | `lang` + `dir` from the registry, logical CSS |
| F11 | Fallback across languages | Creole falls back to its lexifier | Chains stay inside one language |
| F12 | Concatenated or hand-pluralised strings | `"You have " + n + " items"` | Whole-sentence keys, CLDR plural categories |
| F13 | One user's language served to another | Cache not keyed on locale; per-process i18n singleton on a server | Locale in every cache key; one instance per request |

## Core rules

1. **Completeness before translation.** Build the gate first (it can be red on
   day one), then extract strings, then translate.
2. **One registry** lists the locales; server, client, build config, switcher
   and gate all read it. Anything that re-lists the codes is a bug waiting.
3. **One lookup, one fallback policy.** Dev and test fail loudly; production
   falls back along the chain to the source language **and reports it**. Never
   blank, never the raw key, never silent. Never write
   `t('x') || 'English text'`.
4. **Translated strings are data, never markup.** Do not render one as raw
   HTML; use the library's component interpolation.
5. **Whole sentences with named arguments.** Plurals use CLDR categories of
   the target language (one to six), not `n === 1`.
6. **Dynamic keys go through a typed map**, so unused-key and missing-key
   checks can see them.
7. **Machine translation is a draft.** A locale goes `live` only with a
   recorded native review.
8. **Prove the gate can fail** before trusting it (self-test, then delete one
   key by hand and watch it go red).

## Planning a program (mode `plan`)

Decide these before building; each one left open becomes a rewrite.

1. Which locales, in what order, and who declares one ready.
2. Scope: UI only, or also server messages, email, SMS, PDFs, exports,
   data-driven labels, user content, admin tools.
3. Where translations live and who translates (MT + review, agency, community).
4. One shared pack source compiled per stack, or per-stack packs with one
   shared gate.
5. Fallback policy and copy-change policy.
6. How the locale is resolved, stored and propagated (profile, cookie, header
   between services, job payloads).
7. Server contract: stable error codes rendered by the client, or localized
   server-side, per surface.
8. Non-language formatting facts: currency, units, time zones, name order.
9. RTL in scope or explicitly deferred.

Then build in order: foundation (registry, lookup, gate, pseudo-locale) →
extraction surface by surface → formatting → server and data → out-of-app
channels → translation and review, flipping one locale to `live` at a time.

## Usage

| You say | Mode | Parameters it uses |
|---|---|---|
| "tambah bahasa Arab ke app ini" | `add-language` | `locale` (required), `source` (default: the registry's source), `packs` (default: detected) |
| "ada key yang belum diterjemahkan?" | `gate` | `config` (default: `locales.config.json`), `required` (optional key list), `production` (default off) |
| "terjemahkan key baru ke id dan ms" | `sync` | `targets` (required), `source` (default registry source), `scope` (default: changed keys only) |
| "audit i18n sebelum rilis" | `audit` | `production` on, plus the sweep below |

Gate parameters in full are in `references/completeness-gate.md`. Worked
example of a complete run: `references/worked-i18n.md`.

## Hands off to (fixed — see skill-authoring-edho-ferdian §11)

When the work reaches one of these, load that skill with the Skill tool
and follow it — don't write its part from memory.

- Pulling hard-coded strings out of components → `frontend-engineering-edho-ferdian`
- Localized URLs, `hreflang`, per-locale sitemap → `seo-audit-edho-ferdian`
- A browser sweep through every route in every locale → `e2e-testing-edho-ferdian`
- Tests for the gate or the lookup → `test-authoring-edho-ferdian`
- Locale-specific schema, collation, translated reference data → `data-layer-patterns-edho-ferdian`

## Language routing (fixed — see skill-authoring-edho-ferdian's canonical contract)

Communication to the user in Bahasa Indonesia; locale files, keys, config and
script output in English (translations themselves in each target language) —
fixed, never ask. Full contract: `skill-authoring-edho-ferdian` §7.

Files in this skill

  • SKILL.md7.1 KB
  • references/completeness-gate.md5.9 KB
  • references/locale-registry-and-fallback.md4.4 KB
  • references/surfaces-and-stacks.md7.1 KB
  • references/translate-and-sync.md4.7 KB
  • references/worked-i18n.md2.7 KB
  • scripts/locale-gate.mjs10.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.