commerceguys / intl

A PHP internationalization library, powered by CLDR data.
MIT License
361 stars 45 forks source link

[de-AT, fr-CH] Missing currencyGroup / currencyDecimal symbols in NumberFormat #80

Closed bojanz closed 4 years ago

bojanz commented 4 years ago

Somewhere along the way CLDR added currencyGroup and currencyDecimal symbols, which are to be used instead of the group and decimal separators when formatting currency amounts.

Right now only two locales use it.

de-AT:

          "group": " ",
          "currencyGroup": ".",

and fr-CH:

          "decimal": ",",
          "currencyDecimal": ".",

We need to add these two properties to NumberFormat, modify the scripts to parse them from CLDR, and modify the formatter to use them when needed.

bojanz commented 4 years ago

Fixed by #82.