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
Question is, how to extend ICU MessageFormat with ranges. MessageFormat allows formatting of single variables in form {argument, formatType, formatArguments}. However, range depends on two arguments.
Two possible variants:
{argument1 argument2, range} - Probably breaks a lot of MessageFormat parsers
{argument1, range, argument2} - Valid ICU and also it can be read as argument1-argument2
Interesting feature. Plurals have next to ordinal and cardinal also third category: range: http://www.unicode.org/cldr/charts/28/supplemental/language_plural_rules.html
From: formatjs/formatjs#868
The text was updated successfully, but these errors were encountered: