I18N Message Format Pitfalls

Use when translatable messages are written or reviewed in any framework: plural and select branches (CLDR categories, why `one {1 item}` is wrong, `other` required, plural on a formatted number, ordinals, offset and several plurals in one message), whole sentences with named placeholders and named tags, several strings of one widget kept together, translator comments and contexts for short ambiguous strings, and ICU syntax hygiene (escaping, invalid messages, vendor limits).

techmefr Updated

File contents

techmefr/mentis commit b1f891eca6

Frequently asked questions

npx get-skill add techmefr/i18n-message-format-pitfalls