michaelwittig / node-i18n-iso-countries

i18n for ISO 3166-1 country codes
MIT License
807 stars 261 forks source link

Incorrect country names being populated #153

Open quekqh opened 4 years ago

quekqh commented 4 years ago

I'm currently using the getNames('en') method, and I see weird names being populated like "Congo, the Democratic Republic of the", when it's supposed to be "Democratic Republic of the Congo" - it also happens for many other countries like Micronesia and Moldova, etc.

image

Anyone can enlighten me on how to display the proper names instead?

micksatana commented 4 years ago

It's correct as when people try to search they won't starts searching by "The Democratic Republic of Congo" but start searching with "Congo". And if you want to ordering them by name, they will be sorted with C in "Congo, ..." instead of T in "The Democratic ..."