Maarten Wolfsen
Maarten Wolfsen

Reputation: 1733

Change google maps API route planner language

I have a routeplanner on my website, and changed the language of the script to Dutch, like this:

src="http://maps.google.com/maps/api/js?sensor=false;language=nl"

The map's language is Dutch now, but the language of the routeplanner isn't:

1.  Head southeast on Aalbershof    
20 m
2.  Turn left to stay on Aalbershof 
90 m
3.  Turn right to stay on Aalbershof    
38 m
4.  At the roundabout, take the 1st exit onto Oosterlandenweg   
1.4 km
5.  Turn left onto Zwolseweg

etc.

How do I change the language of the routeplanner?

Upvotes: 0

Views: 110

Answers (1)

Tim
Tim

Reputation: 96

According to https://developers.google.com/maps/documentation/javascript/basics#Localization you use the API correctly. Could it be, that you need to divide your parameters with & instead of ;?

src="http://maps.google.com/maps/api/js?sensor=false&language=nl"

Upvotes: 1

Related Questions