Skip to content

Support for plural selectors for a range of numbers #125

Closed
@eemeli

Description

@eemeli

The pluralisation rules for ranges of numbers are different from the pluralisation rules of e.g. the last value of the range. For an example in English, consider "0-1 items". In general, the plural category of a range may depend on the plural categories of both the start and end values of the range.

Describe the solution you'd like
MessageFormat 2 should allow for number ranges to be properly pluralised.

Describe why your solution should shape the standard
Unlike cardinal and ordinal plurals, range plurals depend on two inputs rather than one. This needs to be accounted for as we're designing the data model and everything that depends on it.

Additional context or examples
These rules are included in the CLDR supplemental data for at least a subset of the languages for which cardinal rules are available. I'm currently working on a polyfill for a proposed JS API for selecting plural ranges (tc39/proposal-intl-numberformat-v3#16).

Metadata

Metadata

Assignees

No one assigned

    Labels

    requirementsIssues related with MF requirements list

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions