1

The message is Check out {count, plural, one {# item}, other {# items}}.

I'm invoking it with:

<FormattedMessage id="button.message" values={{ count: cartItemsCount }} />

But I'm getting these errors:

[React Intl] Error formatting message: "button.message" for locale: "en"
SyntaxError: Expected "{" but "o" found.

and

[React Intl] Cannot format message: "button.message", using message source as fallback.

Any ideas what's going on here?

NotoriousWebmaster
  • 3,298
  • 7
  • 37
  • 49

1 Answers1

4

You ICU message is invalid: Check out {count, plural, one {# item} other {# items}} (no , between one & other

Long Ho
  • 599
  • 4
  • 15