hitching / geo-autocomplete

Automatically exported from code.google.com/p/geo-autocomplete
0 stars 0 forks source link

Localize that whole thing #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there

I'm trying to get the 'result-labels' in german. If I search for 'Dusseldorf' 
the result is 'Dusseldorf, Germany'. Is there a way to get these results as a 
german string (Düsseldorf, Deutschland)?

Thank you very much.

Original issue reported on code.google.com by tobias.kuendig@gmail.com on 23 Oct 2010 at 12:18

GoogleCodeExporter commented 9 years ago
you can try tweaking line 46 of ui.geo_autocomplete.js 
so that the geocode options include a language parameter, for example -
... {'address': _address, 'language': 'DE'} ...

See this for more -
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocodin
gRequests

Original comment by hitch...@gmail.com on 21 Nov 2010 at 12:25