miguelpruivo / country_codes

Country codes is an helper package that provides country details given a particular localization, such as dial codes, ISO 3166 codes (alpha-2, alpha-3) and country names.
MIT License
29 stars 34 forks source link

List of all CountryDetails #16

Closed marinkobabic closed 2 years ago

marinkobabic commented 3 years ago

I would like to display all the countries to the user. Once user has selected a specific country, iso code will be used. How to get CountryDetails of all languages?

miguelpruivo commented 3 years ago

Hi, I’m not sure I understand your use case. You want to display a list with all countries? Currently that’s not possible but I accept it as a suggestion.

marinkobabic commented 3 years ago

Yes. User has to select the country as first. To expose such a method would be great.

wizlif commented 2 years ago

Same here, ability to export this list would be great.

miguelpruivo commented 2 years ago

@wizlif added the feature in a PR. I’ll publish the version asap. Thank you!