ngAutocomplete icon indicating copy to clipboard operation
ngAutocomplete copied to clipboard

Force language of returned address

Open sistemisolarirossi opened this issue 10 years ago • 1 comments

Is it possible to force language google-places should use to return addresses? I mean: I need all street addresses to be formatted in the same language (for example, "Street ABC, Italy", and not "Strada ABC, Italia"), indipendently by client's browser language... I see in ngAutocomplete there is a "country" option, but I am not sure I understand it's meaning; but for sure it doesn't fulfill my need... :-(

sistemisolarirossi avatar Sep 23 '14 14:09 sistemisolarirossi

I just found it here: https://developers.google.com/maps/documentation/javascript/basics#Localization

The solution in short is to specify the language when you include the google places api:

martonbaranyai avatar Nov 09 '14 13:11 martonbaranyai