I have changed the language for the google maps to Hebrew in the language setting but I would like to use the code for my website. However, I can
I had the same problem. I am a Dutchman living in Brazil. I developed a website for a Brazilian firm. The result the iframe rendered in the web-page was in Dutch. Then my client tested the site and everything was in Portuguese. The answer can be found in the native browser settings (Dutch for me), (Portuguese for my client).
Dirk Detmar Teresina, Piaui Brazilie
So to sum the answers to this question up, the language key depends on what API you are using:
While using Google Map embeed iframe you can replace default language parametr on the src , you can look at at my example I point the placement of default language code : For example - az for Azerbaijan language
<iframe class="map" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3038.7779420053535!2d49.85933131574896!3d40.39161387936813!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x40307d151fdf42df%3A0xb3dd9195f4676922!2z0JzQuNC90LjRgdGC0LXRgNGB0YLQstC-INC-0LHRgNCw0LfQvtCy0LDQvdC40Y8g0JDQt9C10YDQsdCw0LnQtNC20LDQvdGB0LrQvtC5INCg0LXRgdC_0YPQsdC70LjQutC4!5e0!3m2!1sru!2s!4v1574328901852!5m2!1s{you can find this point and replace with your locale language for example 'az' then iframe will translate into your locale language}!2s" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen=""></iframe>
You need to add language
parameter of API call for embed map. For Hebrew language, src
of <iframe>
should be like:
src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d27130.99130966173!2d35.186535!3d31.787558!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1502d64c6e5bf91d%3A0x2f55a98e4e4ab5e9!2z15vXoNek15kg16DXqdeo15nXnSAxNQ!5e0!3m2!1siw!2s!4v1395222081666&language=iw"
More info at Google Maps Embed API
More info about Google Maps API language support:
https://developers.google.com/maps/faq#languagesupport
Also you can use link like this -
src="https://maps.google.com.ua/maps?q=Майдан+Незалежності,+Київ&hl=uk&output=embed"
Майдан+Незалежності,+Київ
- map locaton
uk
- language
In 2016 it doesn't work anymore for embedded code directly taken from maps.
But &language=ru
would work if you generate your code here: https://developers.google.com/maps/documentation/embed/start
You'll have to create api key.