Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google maps force english language [duplicate]

Tags:

google-maps

Hi I would like to know if it is possible to force english as language for google maps. I have a small application that uses google maps but if I try to use it from a greek browser all the characters are in greece (and the same happen if a friend of mine use it from Egypt the chars are arabic). Is there any code I can use to solve the problem? Thank you

like image 368
user1225730 Avatar asked Oct 23 '12 15:10

user1225730


People also ask

Why is my Google Maps suddenly in a different language?

Google Maps on the web: Click the menu in the top left, then click Language and select any language to set it. Google Maps app for Android: Tap your profile picture in the top right, tap Settings > Navigation settings > Voice selection > a language. To also adjust the text language go to Settings > App language.

Why is Google Maps not showing in English?

Google Maps automatically shows place names in a country's local languages, but on your computer, you can change your map language. On your computer, open Google Maps. Choose Language. Select a language.

How do I change Google Maps API language?

A language can be selected when you load the API by appending language=XX to the API URL where XX is the two-character language code ( en for English, ar for Arabic, etc.) to the URL in the API call. See http://code.google.com/apis/maps/documentation/javascript/basics.html#Localization for documentation.


1 Answers

You can add certain GET parameters when loading the map, eg language=en&region=US. Complete example:

https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&language=en&region=US

For the available options check the API Docs localisation settings.

like image 126
ddinchev Avatar answered Oct 24 '22 00:10

ddinchev