Ordergroove Internationalization Data
This package contains information about select countries to be used in address forms and displays.
The information includes (but is not limited to) the different countries':
- Name
- Regions (if any)
- Required fields for a valid address
- Address format
Usage
This is a single JSON file so accessing the country information is as simple as
> const i18n = require('i18n-data');
> i18n.US.name
<- 'UNITED STATES'
Locale Data
Contains a list of locales we support based on list of countries supported.
Fields
Usage
> const locales = require('i18n-data/i18n_locale_data');
> locales.all[0]
<- {"name":"Afar","language":"Afar","location":"Djibouti","tag":"aa-DJ"}