package:intl - support list gender message selection #11806
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by @seaneagan
The intl package currently has Intl.gender to select messages based on gender. In addition when dealing with lists of people, languages have different rules to determine the gender. See:
CLDR:
http://unicode.org/reports/tr35/tr35-general.html#List_Gender
ICU:
http://icu-project.org/apiref/icu4j/com/ibm/icu/util/GenderInfo.html
Once issue #11069 is fixed, it may be nice to have a method to complement it, which can select a message based on list gender. This could either be added to Intl.gender by making the "gender" argument also accept an Iterable, or a new method such as Intl.listGender.
The text was updated successfully, but these errors were encountered: