You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using react-i18next with i18next-icu to support Intl Message formatting. It works as defined here https://formatjs.io/docs/intl-messageformat for Date, Time, Number and Plurals but does not work for currency. I tested this with Intl-messageformat alone and the currency formatting works fine, but doesn't work with i18next-icu.
i18next-icu uses intl-message version 2.2.0 but the latest version available is 9.3.20. The issue is still there with the latest version as well.
To Reproduce
Here is the codesandbox link to reproduce the issue. The error case is shown is red and the expected behaviour in green.
Expected behavior
I expect the string {price, number, ::currency/CAD}" to be formatted through Intl Message format as currency but it is formatting this as a number.
Your Environment
runtime version: i.e. node v12.19.0
i18next version: i.e. 19.8.4
os: Mac
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
I am using react-i18next with i18next-icu to support Intl Message formatting. It works as defined here https://formatjs.io/docs/intl-messageformat for Date, Time, Number and Plurals but does not work for currency. I tested this with
Intl-messageformat
alone and the currency formatting works fine, but doesn't work with i18next-icu.i18next-icu
usesintl-message
version 2.2.0 but the latest version available is 9.3.20. The issue is still there with the latest version as well.To Reproduce
Here is the codesandbox link to reproduce the issue. The error case is shown is red and the expected behaviour in green.
Expected behavior
I expect the string
{price, number, ::currency/CAD}"
to be formatted through Intl Message format as currency but it is formatting this as a number.Your Environment
The text was updated successfully, but these errors were encountered: