T
T
thehighhomie2017-11-15 20:09:33
Google Maps
thehighhomie, 2017-11-15 20:09:33

Google Maps JavaScript API: Data in different languages ​​in different browsers?

Why do I choose a place in chrome in the autocomplete tips, then when I request the data of this place, for example, the address, it gives out in Russian, as it was in the hint, but in the fox everything is in English and it doesn’t matter what language the hint was in the autocomplete ...
In which dig side?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
thehighhomie, 2017-11-16
@thehighhomie

In general, I figured it out, I just had to localize the map: https://developers.google.com/maps/documentation/j... I
just needed to add language=ru®ion=RU to the src of the included script

F
freeExec, 2017-11-15
@freeExec

In the direction of the browser settings, when it sends the desired languages ​​in the HTTP request:

Accept-Language:ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question