Skip to content
Dmytro edited this page Feb 1, 2020 · 3 revisions

Next version aims to cover feature requests and data expansion (but still distribute minimal packages for common use cases).

Planned changes

Country

  • Alpha-3 codes
  • Alternate country names (official names often differ from commonly used)
  • Official & spoken languages
  • Regions
  • Time Zones
  • Parent country (some ISO codes are actually a region inside another country)

Data Structure

Main Country object will have a native sub-tree for the same structure as main Country has:

{
  "name": "",
  "capital": "",

  "native": {
    "name": "",
    "capital": ""
  }
}

Some string fields are to be converted to arrays (phone codes, continents: see transcontinental countries).

Add per-country JSON (CSV) files.

Add per-country region JSON (CSV) files.

(Probably) Add per-country geo-data JSON files.

Add info on use cases and recommended examples of usage.

Add info of related locales (some language codes are related with very high percentage, like in Norway).

Clone this wiki locally