Questions tagged [country]

448 questions
100
votes
9 answers

How to explore web-based Google Play in another country?

if I go to play.google.com, it automatically recognizes my country and allow me to browse the apps for that country. I can change the language through the dropdown in the footer, or I can add &hl=code in the querystring...but that only changes the…
devguy
  • 2,336
  • 5
  • 27
  • 31
70
votes
6 answers

Where can I get a list of Countries, States and Cities?

This probably seems like a duplicate, since there are identical questions out there. Unfortunately all of the answers to all of these questions are missing one detail: the states. Where can I get a list of countries, states and cities? For example,…
Jonathan
  • 32,202
  • 38
  • 137
  • 208
63
votes
2 answers

Best IP to Country Database

We've got a requirement in a couple of our systems to detect a user's country based on their IP address. We'd prefer to use a database rather than a Web Service (to prevent issues with downtime/network access to an externally hosted service) so I'm…
Henry Wilson
  • 3,281
  • 4
  • 31
  • 46
61
votes
15 answers

How to get the Country according to a certain IP?

Does anyone know any simple way to retrieve the country from a given IP Address, preferably in ISO_3166-1 format?
DylanJ
  • 2,373
  • 3
  • 25
  • 24
51
votes
4 answers

How to test a site "from" another country?

I just had a call from norway saying that there is a weird domain redirect that ends up in a 404 error, how can I simulate that I am in another country or replicate this error?
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
37
votes
8 answers

How do you detect a website visitor's country (Specifically, US or not)?

I need to show different links for US and non-US visitors to my site. This is for convenience only, so I am not looking for a super-high degree of accuracy, and security or spoofing are not a concern. I know there are geotargeting services and…
David Smith
  • 38,044
  • 11
  • 44
  • 61
31
votes
7 answers

PHP intl country code 2 chars to country name

I'm trying to convert, using PHP, 2 characters country codes (ISO 3166-1) to country names, or intl country codes, so I can translate the country name. Using Locale::getDisplayRegion needs locale codes for languages (nl_NL) and all I have is the 2…
Surt
  • 581
  • 1
  • 5
  • 18
25
votes
5 answers

Html Country List with flags

I am looking for a way to select and display a list of countries, preferably with flags. Any suggestions? I started of by trying this jQuery plugin http://www.graphicpush.com/website-language-dropdown-with-jquery, but as the list of countries I have…
Mr.B
  • 917
  • 1
  • 11
  • 20
25
votes
6 answers

Get the default timezone for a country (via CultureInfo)

Is there a program or a table that provides the default timezone for every country? Yes, the US, Canada, & Russia have multiple timezones. (I think every other country has just one.) But it's better to start on the most likely if a country is known…
David Thielen
  • 28,723
  • 34
  • 119
  • 193
24
votes
16 answers

Django: Country drop down list?

I have a form for address information. One of the fields is for the address country. Currently this is just a textbox. I would like a drop down list (of ISO 3166 countries) for this. I'm a django newbie so I haven't even used a Django Select…
User
  • 62,498
  • 72
  • 186
  • 247
23
votes
9 answers

free country, city database for sql server

have anyone used this before, i need free country, city, IP database for sqlserver
StoneHeart
  • 15,790
  • 32
  • 67
  • 84
21
votes
1 answer

List of all country languages for dropdown select menu HTML FORM

Do you have a list of all languages that are commonly used in html forms?
bxorcloud
  • 659
  • 1
  • 7
  • 20
20
votes
6 answers

Android Get Country Emoji Flag Using Locale

I have seen that since Lollipop, Android has built in Emoji flags for different countries. Is it possible to use the devices locale to retrieve the Emoji flag for that country? I wanted to insert the Emoji flag into a TextView which contains the…
Mike Walker
  • 2,944
  • 8
  • 30
  • 62
19
votes
4 answers

iOS iTunes store country

i am wondering if there is a solution to find out, in which country the user downloaded an application. For example: app x has been downloaded in USA when the user opens up the app, the app will check in which country it was downloaded. In this…
Emi2k4
  • 193
  • 1
  • 4
18
votes
6 answers

How to get country name

I used the code below to get the list of culture type, is there a way on how to get just the country name? Thank you static void Main(string[] args) { StringBuilder sb = new StringBuilder(); foreach (CultureInfo ci in…
xscape
  • 3,318
  • 9
  • 45
  • 86
1
2 3
29 30