Add support for unit inflections

Description

CLDR is adding gender and inflections for units of measurement. This involves supporting the following:

When formatting units of measurement:

  • Take the desired case as an input parameter

  • Pick the requested case variant of the unit

  • For complex units (square-inch), construct the name using the requested case, and the appropriate gender.

  • Return the resulting case and gender

Return the available cases and units for a given locale:

  • eg for German, return case={nominative, accusative, dative, genitive}, gender={masculine, feminine, neuter}

  • also permit filtering by Scope (particularly Scope=units)

Assignee

Younies Mahmoud

Reporter

Mark Davis

Components

Labels

None

Reviewer

Hugo van der Merwe

Priority

medium

Time Needed

None

Fix versions

None
Configure