×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Directions language

Directions language 12 years 8 months ago #13075

  • Przemyslaw Kenar
  • Przemyslaw Kenar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
How to change directions language? My users usually located in uk and they using English browsers but they are speaking polish. I want to use a polish language for directions.

Directions language 12 years 8 months ago #13088

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Are we talking for the direction, that are shown in the right menu when you click on submit? Or are you talking about translating the fields?

When you click on submit we get a reply directly from google and I show it as it is. There should be an option to get direction instructions in another language, but I have to find it in their API. I'll try to solve this in 2.0.5 if it is possible.
Daniel

Directions language 12 years 8 months ago #13091

  • Przemyslaw Kenar
  • Przemyslaw Kenar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I mean google directions. Maybe there is any trick to define output language.
Thanks

Directions language 12 years 8 months ago #13095

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, now I remember that I have read that! code.google.com/apis/maps/documentation/...cs.html#Localization

And the reason I left it as it is, is that if your browser default language is french, it will show the map navigations in french... It works, I've tested it.

Directions language 12 years 8 months ago #13097

  • Przemyslaw Kenar
  • Przemyslaw Kenar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thank for the clues.

I just replaced in templates:
maps.google.com/maps/api/js?sensor=true
for
maps.google.com/maps/api/js?sensor=true&language=pl

Working fine.

I think is good idea to add extra option for this in configuration also option for the map localisation to return following line
maps.google.com/maps/api/js?sensor=true®ion=PL&language=pl
  • Page:
  • 1
Time to create page: 0.120 seconds