Hi Sarah
Are you referring to the actual map itself or the language used in the plugin?
If it’s the map language, this should be automatic from the Google Maps API but there is a way we can set it if this is not working correctly. Please confirm?
If it’s the plugin, there are .PO files you can create to change each english string to your language. There have been a few translations already.
Kind regards
Nick
Hi Nick,
Thanks for your reply. I was referring to the language used on the actual map itself so that when you look at the map the geographical labels would be in another language. For example, when you look at Google Maps you can see maps in other languages depending on which version of Google you are looking at. Just to give you an example, looking at maps on google.ru displays the maps in Russian.
I am looking forward to your reply.
Sarah
Hi Sarah
There’s a small line of code we need to change for this to happen.
Open the plugin’s PHP file and search for ALL references of the following:
maps.google.com/maps/api/js?sensor=false
and change them to:
maps.google.com/maps/api/js?sensor=false&language=de
Where “de” is the language code your require (de = German).
What language are you looking for? I can help you find the correct language code if you need?
Kind regards
Nick
Thank you very much Nick. I was looking for Russian. I used ru as the code and it works perfectly! I love this plugin.
Thanks again,
Sarah
Hi Nick,
I have a multi-lingual site (using the Polylang Plug-in) and am using the Basic version of the WPGoogle Maps plug-in. Is it possible to define which country’s Google maps should be used?
For example, in the Spanish version of the site, I’d like it to show the map from maps.google.es and the French from maps.google.fr
Is this possible or is it a feature of the Pro version perhaps?
Thanks
Steve
Hi Steve
Thanks for getting in touch.
With the basic version, the map’s language should change by default based on the users location. So if you were in France, the map should show up in French by default. I havent been able to confirm this but will try and get back to you as soon as possible.