Closed tricoder42 closed 6 years ago
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
Let's do it later™️
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: https://github.com/yahoo/react-intl/issues/868