Lingui Best Practices
B0und/WikiSpeedrun
Implement internationalization with Lingui in React and JavaScript applications.
Professional translation and localization for 8 languages (ES, JA, FR, DE, PT, ZH, KO, AR).
$ npx skills add EliasOulkadi/shokunin --skill translate-craft -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install EliasOulkadi/shokunin translate-craft --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/EliasOulkadi/shokunin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.pack/skills/translate-craft .claude/skills/translate-craft && 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 "translate-craft" agent skill from https://github.com/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craft into .claude/skills/translate-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "translate-craft", 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/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craftType 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 EliasOulkadi/shokunin --skill translate-craft -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install EliasOulkadi/shokunin translate-craft --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EliasOulkadi/shokunin.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.pack/skills/translate-craft .agents/skills/translate-craft && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "translate-craft" agent skill from https://github.com/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craft into .agents/skills/translate-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "translate-craft", 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 EliasOulkadi/shokunin --skill translate-craft -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install EliasOulkadi/shokunin translate-craft --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EliasOulkadi/shokunin.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.pack/skills/translate-craft .cursor/skills/translate-craft && 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 "translate-craft" agent skill from https://github.com/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craft into .cursor/skills/translate-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "translate-craft", 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/EliasOulkadi/shokunin.git --path .pack/skills/translate-craft--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 EliasOulkadi/shokunin --skill translate-craft -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install EliasOulkadi/shokunin translate-craft --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EliasOulkadi/shokunin.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.pack/skills/translate-craft .gemini/skills/translate-craft && 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 "translate-craft" agent skill from https://github.com/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craft into .gemini/skills/translate-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "translate-craft", 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 EliasOulkadi/shokunin translate-craftInstalls 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 EliasOulkadi/shokunin --skill translate-craft -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/EliasOulkadi/shokunin.git skills-src && mkdir -p .github/skills && cp -r skills-src/.pack/skills/translate-craft .github/skills/translate-craft && 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 "translate-craft" agent skill from https://github.com/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craft into .github/skills/translate-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "translate-craft", 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 EliasOulkadi/shokunin --skill translate-craft -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install EliasOulkadi/shokunin translate-craft --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EliasOulkadi/shokunin.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.pack/skills/translate-craft .opencode/skills/translate-craft && 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 "translate-craft" agent skill from https://github.com/EliasOulkadi/shokunin/tree/master/.pack/skills/translate-craft into .opencode/skills/translate-craft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "translate-craft", 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.
translate-craftProfessional translation and localization for 8 languages (ES, JA, FR, DE, PT, ZH, KO, AR).
Translate Craft is an agent skill from EliasOulkadi/shokunin. Professional translation and localization for 8 languages (ES, JA, FR, DE, PT, ZH, KO, AR). Covers tone matrix, formality levels, i18n patterns (react-intl, i18next, ICU), RTL layout, cultural adaptation, and locale formatting. Use when user asks to translate text, localize an app, adapt tone, review translations, add i18n, or set up RTL.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode
It sits in Frontend & Design, covering Internationalization and Translation. It works with React. The repository describes itself as: 職人 Shokunin 62 AI agent skills for OpenCode, Claude Code, Cursor, Windsurf. ChromaDB memory, MCP servers, declarative self-updates. Multi-model, open source, zero cost. The licence is MIT.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4c68e5b. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are css, python and javascript).
From 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.
opencode
From compatibility in the SKILL.md frontmatter.
Translate Craft loads about 2.4k tokens when it runs. Until then it costs about 89 tokens; SKILL.md has 788 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 EliasOulkadi/shokunin at commit 4c68e5b, republished under its MIT licence (© EliasOulkadi). 788 words, ~2,417 tokens.
.claude/skills/translate-craft/SKILL.md (or your agent's skills folder).Translation that reads as if originally written in the target language. Based on ATA standards, Mozilla l10n best practices, Airbnb style guide, and Microsoft Language Portal.
Translate meaning, not words. If the reader can tell it's a translation, it failed.
| Command | Description |
|---|---|
translate | Translate text with tone, formality, and cultural adaptation |
localize | Localize dates, currencies, units, addresses per locale |
i18n | Set up i18n framework (react-intl / i18next / ICU) |
rtl | Implement RTL layout with CSS logical properties |
audit | Review existing translation for quality issues |
teach | Create a localization guide for a language pair |
tú (internal), usted (client/external)vous (professional), tu (casual)?, !, :, ;Sie (prof), du (casual)você (general), o senhor/a senhora (formal){count, plural, one {# item} other {# items}}
{gender, select, male {He} female {She} other {They}}.element {
margin-inline-start: 1rem; /* auto-flips LTR/RTL */
padding-inline: 1rem;
border-inline-end: 1px solid;
}| Format | EN | DE | JA | AR |
|---|---|---|---|---|
| Date short | 05/12/2026 | 12.05.2026 | 2026/05/12 | 12/05/2026 |
| Time | 3:30 PM | 15:30 | 15:30 | 03:30 م |
| Currency | $1,234.56 | 1.234,56 € | ¥1,235 | ١٬٢٣٤٫٥٦ ر.س |
| Number | 1,234.56 | 1.234,56 | 1,234.56 | ١٬٢٣٤٫٥٦ |
{name}, %s, {{var}})| Cause | Fix |
|---|---|
Placeholder syntax ({name}, %s, {{var}}) broken in translation | Preserve exact placeholder format. Verify each appears unchanged in output. Test with real data. |
| Text expansion breaking UI layout (German +25%, Spanish +25%) | Design containers with flex-grow. Test with longest translated string. Account for CJK shortening (-15-20%). |
| False friends between language pairs | Maintain language-pair-specific false friends list. ES: "embarazada" ≠ "embarrassed". FR: "actuellement" ≠ "actually". DE: "Gift" ≠ "gift". |
| Mixed formality in same document (tú/usted, Sie/du) | Pick one register at start. Scan entire document for consistency. Language-specific rules table has defaults. |
| Word-for-word translation producing unnatural phrasing | Restructure to target language word order. KO: SOV. JA: drop subjects. AR: root-based word derivation. |
| RTL layout breaks on dynamically injected content | Use CSS logical properties exclusively (margin-inline-start, padding-inline, border-inline-end). Never left/right. |
| Back-translation reveals meaning drift | If reconstructed source differs from original, the translation is too literal or too loose. Adjust: preserve meaning, not word order. |
| Cultural reference doesn't exist in target market | Adapt or explain. Replace region-specific idioms with natural equivalent. Add brief context for untranslatable concepts. |
| Anti-pattern | Correct |
|---|---|
| Literal idiom translation | Find equivalent idiom or drop |
| False friends (embarrassed ≠ embarazada) | Maintain false friends list per language pair |
| Mixed formality (tú/usted in same paragraph) | Pick one register. Enforce throughout. |
| Word-for-word structure | Restructure to target language patterns |
| Ignoring expansion (German +25%) | Design flexible containers. Test with longest string. |
| RTL as afterthought | Use CSS logical properties from day 1 |
// EN: 1 item, 2 items
{count, plural, one {# item} other {# items}}
// AR: 0 عناصر, 1 عنصر, 2 عنصران, 3-10 عناصر, 11+ عنصر
{count, plural, zero {# عناصر} one {# عنصر} two {# عنصران} few {# عناصر} many {# عنصر}}
// JA: 日本語は複数形がない(単純)
{count}個// ES
{gender, select, male {Estimado} female {Estimada} other {Estimado/a}}
// FR
{gender, select, male {Cher} female {Chère} other {Cher/Chère}}{gender, select,
male {{count, plural, one {Il a # livre} other {Il a # livres}}}
female {{count, plural, one {Elle a # livre} other {Elle a # livres}}}
}# Python babel
from babel.dates import format_date, format_datetime
format_date(date, locale='de_DE') # 18.05.2026
format_date(date, locale='en_US') # May 18, 2026
format_date(date, locale='ja_JP') # 2026/05/18
from babel.numbers import format_number, format_currency
format_number(1234567, locale='en_US') # 1,234,567
format_number(1234567, locale='de_DE') # 1.234.567
format_currency(49.99, 'EUR', locale='de_DE') # 49,99 €// JavaScript Intl
new Intl.DateTimeFormat('ja-JP').format(new Date()) // 2026/5/18
new Intl.DateTimeFormat('ar-SA', { dateStyle: 'full' }).format(new Date())
new Intl.NumberFormat('es-ES', { style: 'currency', currency: 'EUR' }).format(49.99) // 49,99 €/* Logical properties (direction-aware) */
.element {
margin-inline-start: 16px; /* margin-left in LTR, margin-right in RTL */
padding-inline-end: 8px;
border-inline-start: 2px solid;
text-align: start;
}
/* Avoid: margin-left, padding-right, text-align: left */© EliasOulkadi, MIT. 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 .pack/skills/translate-craft of EliasOulkadi/shokunin.
Open the folder on GitHubat commit 4c68e5b
Translate Craft 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 |
|---|---|---|---|---|---|---|
| Translate Craft this skillEliasOulkadi/shokunin | 114 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Lingui Best PracticesB0und/WikiSpeedrun | 133 | 2 repos | ~4.2k | Automated safety check: Pass | MIT | |
| I18next Localizationi18next/i18next-cli | 241 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Add LanguageZoneMinder/zmNinjaNg | 112 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Experience UI Bundle Localizeforcedotcom/sf-skills | 1.1k | — | ~5.8k | Automated safety check: Pass | Apache-2.0 | |
| Frontend I18nlangflow-ai/langflow | 155k | — | ~1k | Automated safety check: Pass | MIT |
B0und/WikiSpeedrun
Implement internationalization with Lingui in React and JavaScript applications.
i18next/i18next-cli
Takes an app from hardcoded strings to a localized, continuously translated one with i18next (Locize optional): stack detection, config, wrapping strings in t(), key extraction, Locize sync, and AI…
ZoneMinder/zmNinjaNg
A skill your agent uses when adding a new interface language (locale) to the app, or when asked to translate the UI into another language.
forcedotcom/sf-skills
MUST activate to localize / internationalize a uiBundles//src/ project (React or Angular): extract hardcoded user-facing strings into Custom Labels, wire a runtime i18n library over the Platform SDK…
langflow-ai/langflow
Add, change, or review user-facing text in the Langflow frontend using the i18n system (i18next / react-i18next).
Y80/bmm
A skill your agent uses when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized…
EliasOulkadi/shokunin
Design CI/CD pipelines for GitHub Actions, GitLab CI, and CircleCI with matrix builds, test sharding, caching, Docker layer caching, OIDC auth, deployment strategies (rolling, blue-green, canary)…
EliasOulkadi/shokunin
Build production-grade components for React, Vue 3, and Svelte 5 with all states (loading, empty, error, success, idle), TypeScript strict, WCAG 2.2 accessibility, server components (RSC), and…
EliasOulkadi/shokunin
PostgreSQL database administration — backup/restore (pgdump, PITR, WAL archiving), health monitoring (connections, bloat, cache hit ratio, dead tuples), connection pooling (PgBouncer), replication…
EliasOulkadi/shokunin
Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…
EliasOulkadi/shokunin
Optimize Docker images with multi-stage builds, distroless bases, BuildKit cache mounts, multi-arch builds, compose watch, security hardening (non-root, seccomp, capabilities drop), and…
EliasOulkadi/shokunin
Design error handling, structured logging, and observability with OpenTelemetry (traces, metrics, logs), error classification, recovery patterns (retry with jitter, circuit breaker, bulkhead…
Works with
Categories
Professional translation and localization for 8 languages (ES, JA, FR, DE, PT, ZH, KO, AR). Translate Craft is an agent skill from EliasOulkadi/shokunin. Professional translation and localization for 8 languages (ES, JA, FR, DE, PT, ZH, KO, AR).
Translate Craft fits situations like: user asks to translate text; localize an app; review translations.
Run `npx skills add EliasOulkadi/shokunin --skill translate-craft -a claude-code`. Or copy the skill folder (.pack/skills/translate-craft in EliasOulkadi/shokunin) into .claude/skills/translate-craft in your project. Claude Code loads it when a task matches its description.
Run `npx skills add EliasOulkadi/shokunin --skill translate-craft -a codex`. Or copy the skill folder (.pack/skills/translate-craft in EliasOulkadi/shokunin) into .agents/skills/translate-craft 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 EliasOulkadi/shokunin --skill translate-craft -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/translate-craft, .gemini/skills/translate-craft, .github/skills/translate-craft and .opencode/skills/translate-craft in your project.
SKILL.md names no scripts, command-line tools or credentials: Translate Craft is instructions for the agent only. Our summary lists: Python 3. Compatibility (from SKILL.md): opencode.
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.
Translate Craft is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.7k 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 Translate Craft: Lingui Best Practices (B0und/WikiSpeedrun, 133 stars), I18next Localization (i18next/i18next-cli, 241 stars), Add Language (ZoneMinder/zmNinjaNg, 112 stars) and Experience UI Bundle Localize (forcedotcom/sf-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
EliasOulkadi (a GitHub user) maintains it in EliasOulkadi/shokunin, which has 114 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 5, 2026.
Source: EliasOulkadi/shokunin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.