Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Consistent naming of SERVER_COUNTRIES #1944

Open
ezekieldas opened this issue Nov 4, 2023 · 1 comment
Open

Feature request: Consistent naming of SERVER_COUNTRIES #1944

ezekieldas opened this issue Nov 4, 2023 · 1 comment

Comments

@ezekieldas
Copy link

ezekieldas commented Nov 4, 2023

What's the feature 🧐

This is a "nice to have", particularly in the area of automation of containers and interoperability with other applications.

I'm exploring different service providers (VPN_SERVICE_PROVIDER) and straight away, between ivpn and Mullvad I've found the former requires 'United States' and the latter, 'USA' in a SERVER_COUNTRIES definition.

At cursory glance, it appears our friends at ivpn (ivpn API) are using Alpha-2 codes, as described here:

https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes

I can research further if there are strong recommendations in terms of using this in software applications, databases, etc.

Other thoughts on this:

  • I haven't looked but wouldn't be surprised to find libraries that translate these names (eg, 'United Kingdom', 'England' = GB)
  • Perhaps another chapter but city names as well? IATA Codes perhaps?

Extra information and references

No response

@ezekieldas ezekieldas changed the title Feature request: Consistency naming for SERVER_COUNTRIES Feature request: Consistent naming of SERVER_COUNTRIES Nov 4, 2023
@qdm12
Copy link
Owner

qdm12 commented Aug 4, 2024

Good idea, it would be nice to have synonyms basically I would say, to keep retro-compatibility and let users a bit more freedom in their filter values, especially when it comes to countries. We can add them manually as they are requested I guess. Keeping this opened, but obviously not a priority right now 😄 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants