How do I to get JSON response in English only using Google Maps API
When I am posting my query for getting a location in Google Maps API I am getting the follow response:
descriptionHtml is 1 つ目の角を左に曲がって、<b>central road</b>に入る<div class="google_note">
<b landmarkid="0x390cfcd4e13e8025:0x46d4d92a3bf0456c" class="dir-landmark">Central Revenue Bldg</b>を通過する<div class="dirseg-sub">(300 m 先、左手)</div>
But I want the whole response in English only
Can anyone suggest how I can do this?
I am using Objective-C for Google Maps Api here
//Update...
I found that I have to change something here:
locale = [[NSLocale alloc] initWithLocaleIdentifier:@"ja_JP"];
开发者_Python百科Can anyone tell me what should I do here?
Check this
Coordinate (Lat/Lon) to Address (City,Zip, etc) - ReverseGeoCoordinate
Change the below statement
locale = [[NSLocale alloc] initWithLocaleIdentifier:@"ja_JP"];
to
locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
More
精彩评论