close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Pro maps for Google - specify the language in which I want the map to be displayed, with dynamic adresses, plus language.

Thread began 7/02/2014 6:52 am by jocelyne.lavergne349586 | Last modified 7/02/2014 10:02 am by jocelyne.lavergne349586 | 2101 views | 4 replies |

jocelyne.lavergne349586

Pro maps for Google - specify the language in which I want the map to be displayed, with dynamic adresses, plus language.

How do I specify the language in which I want the Google map to be displayed? I use dynamic adresses and I can pass a language parameter as french or english (fr, en).
Thanks

Could something like this be of any use?
Here is what I tested: sensor=false + language (dynamic parameter)
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&language=<?php echo $_GET['langue']; ?>&key=">/*wagmp*/</script>

Thanks again,
Jocelyne

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, that will work, pass the 2 letter language abbreviation as a URL parameter, for example, to load the map in french:

page.php?langue=fr

Sign in to reply to this post

jocelyne.lavergne349586

Thanks for your feedback.
It is weird how the information is displayed "partially" in English.
.

As you can see on the attached file, only the main Streets are presented in English, every smal street (rue, avenue) is still in French.

Is that normal?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, that is normal, the Map API Will show some roads using both the French and English

Sign in to reply to this post

jocelyne.lavergne349586

Thanks Jason.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...