Skip to content

2.13.4

Choose a tag to compare

@cwtuan cwtuan released this 10 Oct 13:19

We're excited to announce several new APIs in react-intl-universal that enhance our internationalization capabilities.

These features were implemented in PR #261.

New APIs

  1. formatList - Formats a list of React nodes with locale-appropriate separators
  2. formatNumber - Formats numbers according to the current locale
  3. formatParentheses - Returns locale-specific parentheses format
  4. getColon - Returns locale-specific colon character

These new APIs provide more granular control over localization formatting, allowing developers to create more culturally appropriate UIs with less manual work.

These additions maintain backward compatibility and follow existing API patterns in the library.

Please check our documentation for detailed usage instructions and examples.