andyearnshaw / Intl.js

Compatibility implementation of the ECMAScript Internationalization API (ECMA-402) for JavaScript -- UNMAINTAINED
Other
1.7k stars 215 forks source link

Update vietnamese locale #318

Open imcvampire opened 6 years ago

dangh commented 5 years ago

Instead of updating data file manually, better upgrade CLDR packages and run the build again.

imcvampire commented 5 years ago

@dangh can you share me how to do it? I can't find it anywhere

dangh commented 5 years ago

Hi @imcvampire, you can run these commands to upgrade CLDR data and rebuild.

npm add cldr-core cldr-dates-full cldr-numbers-full
npm run build

This library shipped with CLDR 29 which has wrong format for Vietnamese. Upgrade to CLDR 34 fix the issue for me.