i18n-readiness-review
Review a product/codebase for internationalization readiness before you localize. Use when asked if a product is ready to localize, to review i18n r…
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
i18n Readiness Review Skill
Localizing a product that isn't internationalized fails expensively — translators hit hard-coded
strings, layouts break on longer languages, dates show in the wrong format, and RTL shatters the UI.
i18n is the engineering groundwork; localization is the content. This skill audits whether the product
is ready, so you fix the foundations before paying to translate into the cracks.
Required Inputs
Ask for these only if they aren't already provided:
- The product — web/app/codebase, stack/framework (i18n tooling differs).
- Target languages — especially if any need RTL (Arabic/Hebrew), CJK (Chinese/Japanese/Korean), or are long (German/Finnish).
- What you can share — code snippets, UI screenshots, or a description of how strings/formatting are handled today.
Output Format
i18n Readiness: [product]
A readiness audit across the dimensions that break localization, each with status (🟢 ready / 🟡 partial / 🔴 blocker) and the fix:
| Dimension | Check | Status | Fix |
|---|---|---|---|
| String externalization | no user-facing text hard-coded; all in resource files / i18n keys | | move strings to a catalog; no concatenated sentences |
| Formatting | dates, numbers, currency, plurals via locale-aware libs (Intl/ICU) | | use Intl/ICU; never string-format dates |
| Pluralization | plural rules handled (not count + " items") | | ICU plural categories (some langs have 4–6) |
| Layout/expansion | UI tolerates ~+30–40% text length; no fixed-width truncation | | flexible layouts, no text baked into images |
| Encoding | UTF-8 throughout; CJK renders | | UTF-8 end to end |
| RTL | layout mirrors for right-to-left scripts | | logical CSS properties, dir attribute |
| Locale plumbing | locale selection, fallback, and persistence exist | | a locale resolver + fallback chain |
| Assets/content | images with text, examples, names are swappable | | externalize locale-specific assets |
Prioritised fixes — the blockers (🔴) first (hard-coded strings, no Intl formatting, broken RTL), then 🟡s. These must land before translation begins, or you translate into a broken foundation.
Verdict — ready to localize / fix-blockers-first / not yet, in one line.
Quality Checks
- [ ] Checks string externalization (the #1 blocker) — no hard-coded or concatenated UI text
- [ ] Verifies locale-aware formatting (Intl/ICU) for dates, numbers, currency, plurals
- [ ] Assesses layout expansion (+30–40%) and RTL if a target needs it
- [ ] Confirms UTF-8 / CJK encoding end to end
- [ ] Prioritises blockers to fix before translation starts
- [ ] Ends with a clear ready / not-ready verdict
Anti-Patterns
- [ ] Do not start translating before i18n is ready — you'll translate into hard-coded strings and broken layouts
- [ ] Do not concatenate sentence fragments — word order differs by language; translate whole strings with placeholders
- [ ] Do not string-format dates/numbers — use Intl/ICU, or every locale shows them wrong
- [ ] Do not assume text length — German/Finnish expand; fixed-width UI truncates and clips
- [ ] Do not ignore RTL until late — retrofitting right-to-left into a left-to-right layout is a rebuild, not a tweak
Based On
Internationalization engineering practice — string externalization, ICU/Intl formatting & plurals, text expansion, RTL, UTF-8.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/pm-localization/skills/i18n-readiness-review/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 3 个不同仓库或目录里都有叫 i18n-readiness-review 的技能。它们内容并不相同,别混用:
- mohitagw15856/pm-claude-skills — Review a product/codebase for internationalization readiness before you localize. Use when
- mohitagw15856/pm-claude-skills — Review a product/codebase for internationalization readiness before you localize. Use when