You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered:
Yes, I could imagine that. My suggestion would be to implement it like Nager.Country.Translation simply as an additional module to Nager.Country. This would not increase the size of the main package.
@tinohager looks good so far, we have a working solution in use for a few weeks now. It may have some unusual (related to the your base project) things like fixed enum values or extension methods.
Created a PR for this state #33 with all relevant changes.
If you like to have the generators for the subdivision files and initializer classes, i can add them too or send them - didnt see them in the country project so i left them out
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:
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
The text was updated successfully, but these errors were encountered: