2 points · by bryanrasmussen · 7y ago · 11 comments
The design has a drop down with each land code shown as a flag and then +(the land code) so American Flag +1.
The UK uses +44. But people from England, Scotland, and Wales may have a preference for their national flag.
Why do you want to show a flag next to the code? Does it add anything useful?
Yes because, unlike languages, country calling codes and countries (and thus flags) have a one-to-one relationship.
No because very few people are capable of identifying every country in the world by its flag whereas most of your users will be capable of identifying a country by its name.
Go with "Afghanistan +93", without a flag: it's easier to read and understand and easier to implement.
Don't make it _only_ the flag though because that'd make it hard to find your place in the list (and possibly some countries have 2 country codes, at this point nothing would surprise me anymore). :D
E.g. Rebtel does this (to add a flag) in their app and website.