Questions tagged [country-codes]

ISO-3166 standard defining 2 and 3 character identifiers for each country in the world.

326 questions
0
votes
1 answer

AN country code in maxmind database, what country does it refer to?

Selecting distinct(country) from my maxmind database i found country with code "AN", that is not in list here: http://dev.maxmind.com/geoip/codes/iso3166 and on wiki: http://en.wikipedia.org/wiki/ISO_3166-1 For which country it can refer to?
avasin
  • 9,186
  • 18
  • 80
  • 127
0
votes
2 answers

Remove zeros from country code of phone number in Objective-C

I want to remove the preceding zeros from phone number's country code. I take it as NSString because phone number contains symbols such as + , ( , ) , - . I need those symbols. e.g Input:- 1) NSString *phNo = @"0011234567890"; 2) NSString *phNo2 =…
iOSAppDev
  • 2,755
  • 4
  • 39
  • 77
0
votes
1 answer

How to route visitors from China to Youku and others to Youtube?

Is there a standard way of routing IP addresses from certain ranges to a certain link and another range to another link? I have a large percent of visitors coming from China, but I don't want to make that reason enough to route all traffic to Youku.…
rememberlenny
  • 964
  • 2
  • 10
  • 19
0
votes
1 answer

Updating old 'English.lproj" convention to modern 'en.lproj' one?

I'm working on a new project with an old dependency. The dependency has localization which is sorted in directories with the longer format names (English.lproj, German.lproj, etc.), but the new project is using the newer country codes (en.lproj,…
Luke
  • 9,512
  • 15
  • 82
  • 146
0
votes
1 answer

IOS : wrong Czech country code

I think I found a bug in iOS Czech contacts. I've created a Czech contact (With Czech Republic country) that i selected in my application with a ABPeoplePickerNavigationController. The log of address that ABPeoplePickerNavigationController returned…
Martin
  • 11,881
  • 6
  • 64
  • 110
-1
votes
1 answer

Get user Country Code by IP via php function

I have a snippet of code from an existing system that is pulling the users 2-digit country code from an obsolete database table. Normally I have updated the table on a regular basis but I am quite honestly sick of doing it. What I would like to do…
ArcticMediaRyan
  • 687
  • 8
  • 32
-1
votes
3 answers

How to convert a country code to the corresponding currency?

I need to convert a country code to a currency in my app on a user basis. Based on my geolocation library, I know whether the user is in the United States (US), Germany (DE), Switzerland (CH), Japan (JPY), etc. Now I need to convert from the country…
Pascal
  • 233
  • 1
  • 3
  • 5
-1
votes
2 answers

Is there a way of hiding the telephone country code in Android Studio

I need to add a country code to phone numbers to dial it from Android, but I would like to display the phone numbers without the country code. I can get the dialler working using setText() for the phone number (with country code) in Java and adding…
-1
votes
1 answer

Countries list in different languages with same country code

For a multi-language application I need to display country lists. These lists must be in different languages but I need to have country codes too so I only save them. Anyone known an online resource for this?
Patrick Kwinten
  • 1,988
  • 2
  • 14
  • 26
-1
votes
1 answer

Country calling code uniquely keyed by code array in Japanese, ruby, yml, php

Asking this question to answer it myself as it's a useful resource for others. I got this by filtering out the information on the Japanese country codes wiki…
-1
votes
1 answer

countrycode package is not converting cown to iso3c

I installed countrycode and called it in Rstudio. Here is my code: countrycode("ccode", "cown", "iso3c" warn = TRUE nomatch = NA) I get an error message saying: Error: unexpected symbol in "countrycode("ccode", "cown", "iso3c", warn=TRUE…
-1
votes
2 answers

How to get timezone from country

I am converting a function from PHP to Go. I want to get timezone from country code in Go. It is similar this function in PHP public static array DateTimeZone::listIdentifiers ([ int $what = DateTimeZone::ALL [, string $country = NULL ]] ) Which…
user3418135
  • 115
  • 1
  • 2
  • 9
-1
votes
1 answer

How to validate country code and mobile number

I have a registration page in that I have mobile number field. Where, user can select country code from my 3rd party library (MICountryPicker), user will enter mobile number manually now my question is, if user selected Kuwait country code & if he…
-1
votes
1 answer

How to get country code for all latitude and longitude using geoplugin?

Below are the pairs of latitude and longitude. Pair 1: Latitude : 55.95325200 Longitude: -3.18826700 Pair 2: Latitude : -7.09091100 Longitude: 107.66888700 Pair 3: Latitude : 40.71278400 Longitude: -74.00594100 Pair 4: Latitude :…
Mani Kandan
  • 699
  • 1
  • 10
  • 30
-1
votes
2 answers

how to select desired country in bootsratp country picker?

The below code shows US flag and US is selected when the drop down is loaded.
I want to selecte UK in a form and Iraq in another form but when tried below it does…
Foolish Coder
  • 385
  • 5
  • 20
1 2 3
21
22