×

Notice

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

TOPIC: How to change Google map engine to Greek

How to change Google map engine to Greek 4 years 2 weeks ago #22906

  • Kostas Kapodistrias
  • Kostas Kapodistrias 's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
How to change google map to display in Greek. Addresses for example are shown in English instead of Greek
www.pmnews.gr/map

How to change Google map engine to Greek 4 years 2 weeks ago #22907

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey Kostas,
you'll need to make a template override for:
components\com_hotspots\views\hotspots\tmpl\default.php

then on line 36 you have:
$doc->addScript(hotspotsUtils::getGmapsUrl());

change it to:
$doc->addScript(hotspotsUtils::getGmapsUrl().'language=el');

Regards,
Daniel
The following user(s) said Thank You: Kostas Kapodistrias , Angeliki Tzavara

How to change Google map engine to Greek 3 years 11 months ago #23259

  • John Tao
  • John Tao's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
if I have three different languages​​, Japanese, Chinese, and English, what can I do?

How to change Google map engine to Greek 3 years 11 months ago #23266

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
This would need custom coding. I'll try to add some code for this in the next release.
The following user(s) said Thank You: John Tao

How to change Google map engine to Greek 2 years 5 months ago #31181

  • Centrum Analiz Branzowych Robert Klos
  • Centrum Analiz Branzowych Robert Klos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Sorry, how about current version?

as I see, now there is such a line (#45)

JHTML::_('script', HotspotsHelperUtils::getGmapsUrl());

I have tried
JHTML::_('script', HotspotsHelperUtils::getGmapsUrl().'language=pl');
but unfortunetlly that doesn't work :( (stuck at "LOADING_DATA")

How to change Google map engine to Greek 2 years 5 months ago #31182

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
You forgot the & sign.
JHTML::_('script', HotspotsHelperUtils::getGmapsUrl().'&language=pl');
  • Page:
  • 1
Time to create page: 0.096 seconds