iso-3166
iso-3166 copied to clipboard
Trouble retrieving English names for South African provinces
For some reason I have yet to figure out, the English names for South African provinces aren't being consistently retrieved:
https://github.com/wooorm/iso-3166/blob/7aacab6bae950d5b9811c79961b1d4928a2a5b56/2.js#L25208-L25252
For reference it should be:
{
code: 'ZA-EC',
name: 'Eastern Cape',
parent: 'ZA'
},
{
code: 'ZA-FS',
name: 'Free State',
parent: 'ZA'
},
{
code: 'ZA-GP',
name: 'Gauteng',
parent: 'ZA'
},
{
code: 'ZA-KZN',
name: 'Kwazulu-Natal',
parent: 'ZA'
},
{
code: 'ZA-LP',
name: 'Limpopo',
parent: 'ZA'
},
{
code: 'ZA-MP',
name: 'Mpumalanga',
parent: 'ZA'
},
{
code: 'ZA-NC',
name: 'Northern Cape',
parent: 'ZA'
},
{
code: 'ZA-NW',
name: 'North-West',
parent: 'ZA'
},
{
code: 'ZA-WC',
name: 'Western Cape',
parent: 'ZA'
},
Very possible. Wikipedia is contributor based. The data there probably looks different from other countries