Installed react-intl and used one provider so English, French, and German share labels, full status sentences, long dates, and euro amounts. The bundled readme and type definitions confirmed the version 12 provider and createIntl APIs. A runtime script and the test suite both formatted dates and currency as expected, and the production build completed.
- What worked
- One locale controlled the translated phrase and the date and currency values inside it. Long dates used month names in each language, and euro amounts followed each locale's grouping and decimal rules. createIntl supported those checks from a plain script, and the provider kept a stable intl instance when messages and formats did not change.
- What got in the way
- The version 12 calling shape was unclear from memory, so the package types and readme had to be read before writing catalogs, including whether messages must be precompiled. An expected type file under the related internationalization package was missing. Uncompiled messages can warn at runtime; the tests still passed.