协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
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 readiness, find hard-coded strings/locale bugs, or prep for going multilingual. Produces a readiness audit — externalized strings, locale-aware formatting, layout/expansion, encoding/RTL, and a prioritised…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
Ask for these only if they aren't already provided:
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.
Internationalization engineering practice — string externalization, ICU/Intl formatting & plurals, text expansion, RTL, UTF-8.