I am not aware of a "language" component of the directionsService
request (so that probably won't work).

But the Google Maps API FAQ 
http://code.google.com/intl/en/apis/maps/faq.html#languagesupport
indicates that the "API will sense the [language] browser settings of
the user."  I tried re-setting my browser to French, and the
directions were partially in French (sigh ...)  So you may need to
fuss with it, and report back your success.

- Jeff

On Nov 2, 3:33 am, nivedita hazra <[email protected]> wrote:
> Hi,
>
> How to get the directions between two locations in different
> languages?
>
> We have implemented Google maps as:
>
> var directionsService = new google.maps.DirectionsService();
>
> var request = {
>    origin: startAddress,
>    destination: '${storeAddr.address1}, ${storeAddr.city}, $
> {storeAddr.state}, ${storeAddr.zipCode}',
>    language: 'fr',
>    travelMode: google.maps.DirectionsTravelMode.DRIVING
>
> };
>
> directionsService.route(request, function(result, status)
>
> But still the directions are appearing in english language.
>
> Do i need to specify the language some where else or in some other
> manner.
>
> Please help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to