autoNumeric icon indicating copy to clipboard operation
autoNumeric copied to clipboard

Language repository ?

Open dgillier opened this issue 5 years ago • 3 comments

Hello,

I'm wondering if there is a repository with more language configs or another way to have more than the 7 built-in languages ? (iso name support will also be great ;)

Thanks for your help, Denis

dgillier avatar Jul 01 '20 07:07 dgillier

There are none so far, but I'm open to add as many as needed, perhaps in a separate package if that numbers goes up to much. At one point I found a file on my Linux system where lots of the i18n data was stored, but cannot remember where.

If there were such a list of group separator, decimal character, currency symbol and currency placement, then it could be pretty straightforward to add.

AlexandreBonneau avatar Jul 07 '20 10:07 AlexandreBonneau

https://github.com/ozum/intl-data

Between getLocale(locale) and getCurrency(code, locale) you should have all you need to populate auto-numeric options for any currency/locale.

Sector14 avatar Aug 01 '20 19:08 Sector14

@Sector14 Yep, could be a good option, thanks !

dgillier avatar Aug 03 '20 07:08 dgillier