tc39 / proposal-intl-locale-info

An API to expose information of locale, such as week data ( first day of a week, weekend start, weekend end), hour cycle, measurement system, commonly used calendar, etc.
MIT License
56 stars 11 forks source link

Possible of addition of Intl.Locale.prototype.getCurrencies()? #75

Open ramsey opened 1 year ago

ramsey commented 1 year ago

ICU has provided ucurr_getKeywordValuesForLocale() since ICU 4.2. Using this, it should be possible to provide functionality similar to getCalendars(), getCollations(), etc.

Has this been discussed for addition to the Intl Locale Info proposal? If so, what were the reasons for excluding it? If not, is it something you would consider adding?

FrankYFTang commented 1 year ago

This is a good idea and useful in functionality. This proposal already reach Stage 3 so it is too late to extend the scope. We should consider to support this in the next version