I18n
/install i18n
Internationalization (i18n) (Deep Workflow)
i18n is engineering readiness for multiple languages: extractable strings, ICU messages, locale-aware formatting, and tests—before full localization (translator workflow).
When to Offer This Workflow
Trigger conditions:
- Planning first non-English locales
- Hard-coded UI strings across the codebase
- Incorrect date/number formatting outside default locale
Initial offer:
Use six stages: (1) inventory & scope, (2) extraction pipeline, (3) ICU & placeholders, (4) formatting APIs, (5) layout & overflow, (6) QA hooks). Confirm framework (i18next, FormatJS, rails-i18n, etc.).
Stage 1: Inventory & Scope
Goal: Which surfaces ship first; pilot locales; avoid translating everything on day one.
Stage 2: Extraction Pipeline
Goal: Stable message keys; CI lint to block new user-visible literals where policy requires; namespaces per feature.
Stage 3: ICU & Placeholders
Goal: Plural and select rules; named variables; no string concatenation across translated fragments.
Stage 4: Formatting APIs
Goal: Intl (or platform equivalent) for dates, numbers, currency; explicit timezone policy (UTC vs user local).
Stage 5: Layout & Overflow
Goal: Flexible layouts for longer translations; pseudolocale in CI to catch truncation (e.g., xx-ACME).
Stage 6: QA Hooks
Goal: Easy locale switching in staging; optional screenshot/visual tests for critical screens.
Final Review Checklist
- Scope and pilot locales defined
- Extraction and linting in place
- ICU for plurals; no unsafe concatenation
- Intl formatting for numbers/dates
- Pseudolocale or stress language in QA
Tips for Effective Guidance
- Pair with localization skill for translator workflow and TMS integration.
Handling Deviations
- Games or marketing-heavy UIs: context comments for translators are critical.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install i18n - 安装完成后,直接呼叫该 Skill 的名称或使用
/i18n触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
I18n 是什么?
Deep internationalization workflow—string extraction, ICU messages, formats, pseudolocale testing, and developer workflow. Use when preparing software for tr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 185 次。
如何安装 I18n?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install i18n」即可一键安装,无需额外配置。
I18n 是免费的吗?
是的,I18n 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
I18n 支持哪些平台?
I18n 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 I18n?
由 codenova58(@codenova58)开发并维护,当前版本 v1.0.0。