I am newbie for the google apis. I was trying to get a full address for search keyword using this
http://maps.googleapis.com/maps/api/geocode/json?address=surat&sensor=false
using this I got the result like this
{
"results" : [
{
"address_components" : [
{
"long_name" : "Surat",
"short_name" : "Surat",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Surat",
"short_name" : "Surat",
"types" : [ "administrative_area_level_2", "political" ]
},
{
"long_name" : "Gujarat",
"short_name" : "GJ",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "India",
"short_name" : "IN",
"types" : [ "country", "political" ]
}
],
"formatted_address" : "Surat, Gujarat, India",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 21.2705834,
"lng" : 72.9432106
},
"southwest" : {
"lat" : 21.0478169,
"lng" : 72.70155579999999
}
},
"location" : {
"lat" : 21.1702401,
"lng" : 72.83106070000001
},
"location_type" : "APPROXIMATE",
"viewport" : {
"northeast" : {
"lat" : 21.2705834,
"lng" : 72.9432106
},
"southwest" : {
"lat" : 21.0478169,
"lng" : 72.70155579999999
}
}
},
"types" : [ "locality", "political" ]
}
],
"status" : "OK"
}
So I get the address but I want that adderss in local language.
For eg for above I want address in hindi language but if I search for berlin then I want address in german language.
Does anyone know how it is possible.
Thank you.