JaxUK
JaxUK

Reputation: 53

Google Geocoder language localization... is it broken?

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:

http://maps.googleapis.com/maps/api/geocode/json?latlng=51.5073509,-0.12775829999998223&sensor=false&language=en

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

Answers (1)

miguev
miguev

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

Related Questions