I just assembled this little test page, and you're absolutely right,
it works: http://widersacher2.wi.funpic.de/directions.html

That's really strange, because it means there's something in my
application that prevents the directions from being translated
properly. Pasting my entire script here wouldn't do though, since it's
really quite big and I now know that I don't have to come crying to
Google about this. :) I'll debug it and post the results here when I'm
done, maybe it'll also help the OP.

On Aug 23, 12:22 pm, Pil <[email protected]> wrote:
> The language parameter is working well for me, also for directions
> requests.
>
> On Aug 23, 11:45 am, Martin <[email protected]> wrote:
>
> > I'm experiencing the same issue, but unfortunately neither of the
> > solutions you offered takes care of it. I am setting the language
> > parameter in the API reference, and it translates pretty much
> > everything properly into the set language, except for the instructions
> > returned by the DirectionsRenderer. Appending a region parameter to
> > the DirectionsRequest does not help, because all that does (and is
> > supposed to be doing according to the documentation) is bias the
> > search toward a certain region. This does not have anything to do with
> > translating the driving instructions.
>
> > Is this an actual bug (or not-yet-added feature) or is there a way to
> > solve this problem? Any heads up would be appreciated. :)
>
> > Cheers,
> > Martin
>
> > On Aug 18, 6:44 pm, Pil <[email protected]> wrote:
>
> > > You can use a language parameter in your API reference
>
> > >http://code.google.com/apis/maps/documentation/javascript/basics.html...
>
> > > You can also use a region parameter in your directions requests
>
> > >http://code.google.com/apis/maps/documentation/javascript/services.ht...
>
> > > On Aug 18, 6:08 pm, inotipiedideipitoni
>
> > > <[email protected]> wrote:
> > > > hi, how can I set the language for the driving instructions?
>
> > > > now I make a request, but google maps give me the istructions in
> > > > English, and i wanna it in Italian!
>
> > > > where I can specify it?
> > > > this is my request (that works)
>
> > > > var request =
> > > >                                 {
> > > >                                         origin: lat1,
> > > >                                         destination: lat2,
> > > >                                         travelMode: 
> > > > google.maps.DirectionsTravelMode.DRIVING
> > > >         };
> > > > thanks

-- 
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