Question

Is there any way to get a localized response with jQuery UI Map V3? I mean, when I use search method to find a location, the long_name value is returned in English.

On API docs I can't find any reference to a locale param or something similar.

Do you guys know something about this?

Thanks a lot.

Was it helpful?

Solution

I answer myself. You can specify the language you want the responses on the script call, like this:

<script src="http://maps.google.com/maps/api/js?sensor=true&amp;language=es"></script>

Of course this is not a jQuery UI Map issue, it's just Google Maps API configuration.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top