Open Algorithman opened 10 months ago
Also, all state/provinces should be in the database (since all countries are in the database).
Another thing I just noticed, your country data is out of date. For example the netherland antilles don't exist anymore (at least not under the country code AN/ANT) since 2010. You might want to integrate some tooling to get the newest data into your solution.
Nager. Country
looks promising, but it doesn't contain state/region data. However, this information can be found in dr5hn countries-states-cities-database, which we can use as a sidekick (only a subset of it with the most important countries).
I just defaulted to Nager because I already knew it and took the states/provinces from https://github.com/stefangabos/world_countries for now to fill the database but dr5hn looks fine too. I added the states/provinces for all countries, since it's only ~3600 entries, so no real strain.
Is your feature request related to a problem? Please describe. Countries are named differently in different languages. For example Germany (english), Allemagne (french), Deutschland (german). Nager.Country does this perfectly. They also provide a json with all translations, maybe you can get the data from there.
TLDR: Countrynames should be installed for their respective language when installing a language. This also should be applied to States/Provinces.