-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kosovo (XK), Netherlands Antilles (AN) LocaleCode.getCountryName() doesn't work right #16
Comments
Hi @utschenik , this module use iso-3166-1-alpha-2 under the hood to handle country names. I checked here https://github.com/georgzoeller/iso-3166-1-alpha-2/blob/master/index.js, and found out I would suggest you to raise an issue on iso-3166-1-alpha-2 project. Once they update it, I would like to release a new version accordingly. |
i raised a new issue for both countries (georgzoeller/iso-3166-1-alpha-2#5), i would let you know in this issue if they adjusted their country list or not. |
Hey merge is done with my changes (georgzoeller/iso-3166-1-alpha-2#6) |
That's great. But still need them to publish a new version to npm, so that I can upgrade my dependency version in package.json |
Hello,
I have a custom country list, that i am looping through and trying to render the country list with it's orignal country names.
For 202 countries it works really great, but with 2 countries it doesn't work.
I am using the method LocaleCode.getCountryName() to get the original country names from Kosovo and Netherlands Antiles, but I get nothing returned.
Example:
LocaleCode.getCountryName('en-AN')
LocaleCode.getCountryName('en-XK')
Thanks for your help!
The text was updated successfully, but these errors were encountered: