Description
Hi,
what do you think about adding subdivision (ISO 3166-2) information ?
We need that for some project so im currently implementing it (europe + usa for now). Its basically an ISubdivisionInfo with informations from wikipedia and iso obp and an subdivision list on country info.
If you are interested, i would prepare an PR with structure and some reference definitions.
here is our structure so far:
public interface ISubdivisionInfo
{
/// <summary>
/// CommonName
/// </summary>
string CommonName { get; }
/// <summary>
/// NativeName
/// </summary>
string OfficialName { get; }
/// <summary>
/// ISO-3166-2 code
/// </summary>
string TextCode { get; }
/// <summary>
/// Subdivision code
/// </summary>
SubdivisionCode Code { get; }
/// <summary>
/// Subdivison category
/// </summary>
SubdivisionCategory Category { get; }
}
CommonName is the reference name (from wikipedia, mostly english)
OfficialName is the iso name (mostly local)
SubdivisionCode is an enum with all subdivison codes (without the - ) from here
was thinking about adding administration language but it seems that you dont have this on the CountryInfo and the LanguageCode enum is part of the translation project