Blog

ICU Message Format for Catalog Teams

{count} left, {discount}% off, ships in {days} days — those slots are sacred. Drop them and your storefront badges die.

2026-09-11 · 5 min read

If you’ve shipped an app, you’ve sworn at plurals. English has “1 item / 2 items.” Other languages have more forms. ICU exists so nobody hard-codes broken grammar into the binary.

Store teams meet the same thing in softer clothes: “Only {count} left,” “Save {discount}%,” “Ships in {days} days.” Those are messages with slots. Treat the slots like production code.

When a model rewrites the sentence and eats the slot, you don’t get a slightly worse translation — you get a broken feature. Urgency gone. Promo empty. Support full of screenshots.

Detect slots, lock them, rewrite around them, test with sample numbers. Glossary for brand words. Fixtures for slots. Neither is optional once you leave one language.