schourode / iso3166

ISO 3166-1 country list for .NET
MIT License
76 stars 31 forks source link

Localization #16

Closed andersnm closed 2 years ago

andersnm commented 4 years ago

Proposes to add a new Country.GetCountryName() method taking a CultureInfo parameter and returns the localized country name. The country name lists are generated by a tool based on the latest XML files in the CLDR project - the same dataset used by the ICU library. http://cldr.unicode.org/

Main drawback is the ISO3166 assembly dll jumps from 25k to 2mb and the added data is not even part of the ISO standard. Alternatively, the localized names could of been put in a separate assembly and package. But then again, 2mb isn't much, and a separate package for that is perhaps overkill too.

Closes #15

304NotModified commented 2 years ago

Nice idea! But I think this should be a separate package.