Skip to content
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

Option for data default with full country name? #9

Closed
JonathanNet opened this issue Feb 17, 2020 · 1 comment
Closed

Option for data default with full country name? #9

JonathanNet opened this issue Feb 17, 2020 · 1 comment
Labels
question Further information is requested

Comments

@JonathanNet
Copy link

Hi I also noticed that I cannot use full country name in data default, can it be added in this script like data-default="Denmark" ? :)

@mojoaxel mojoaxel added the question Further information is requested label Feb 17, 2020
@mojoaxel
Copy link
Owner

mojoaxel commented Feb 17, 2020

No, you'll need to "translate" your name into a ISO_3166-2 country code like e.g. "DK".

Yu could use some existing library like e.g. country-code-lookup for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants