Search code examples
iphoneobjective-clocalereverse-geocoding

How to force language in which reverse geocoding data on iOS is received?


When i call

geocoder reverseGeocodeLocation:currentLoc completionHandler:

i get all the data (city, county, ...) in a language according to locale set on iphone.

How can i force to always get this data in English?


Solution

  • You can not force the language of the geo data retrieved from CLGeocoder or MKReverseGeocoder. It will always be the system language of the device. If you want to get the data in English you need to built your own geocoder which is relatively easy to implement with the Google Maps API.

    Here is a spreadsheet of the supported languages in Google Maps API: https://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1