Reputation: 53
I'm looking to reverse geocode Lat/Lng's
to addresses in multiplue languages, after reviewing the Google Geocoder API
it should on paper always be possible. But it seems to fail badly.
e.g.
Lat/Lngs
for London UK requested in English return the expected results:
Lat/Lngs
for Lisbon Portugal requested in English return the results in Portugese with Lisboa for Lisbon despite being requested in English:
http://maps.googleapis.com/maps/api/geocode/json?latlng=38.7436266,-9.1602037&sensor=false&language=en
The same is true the other way around for London requested in Portuguese (change the "en
" on the end of the first link to pt
, pt-PT
or pt-BR
) it always comes back with the English for Country and City.
Is this broken? Can anyone suggest a better service that works in multiple languages?
Thanks
Upvotes: 1
Views: 236
Reputation: 4855
There are good reasons behind the choice of language in all the above cases, see more details (and examples) at How can I get Chinese words using Google API with JSON?
Upvotes: 1