Reputation: 25
I request
http://maps.googleapis.com/maps/api/geocode/json?address=france,etretat&sensor=false&language=en , but return french data, how to fix that?
thanks
Upvotes: 0
Views: 674
Reputation: 8934
The api result is actually in english. Most probably there is no official translation to english for some of the cities and locations. However you can see that some names are adjusted:
English: Upper Normandy
French: Haute-Normandie
Same applies to others languages, you can see the small changes that happen when you flip the language:
and a language with another alphabet:
Upvotes: 1
Reputation: 75945
The data returned is in english its just the places names are french.
Google is correcting your request for etretat
to Étretat
because that is the correct spelling with the accent and it is the top matching result for the query.
Upvotes: 0