×

Notice

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

TOPIC: My Location doesn't translate

My Location doesn't translate 8 years 6 months ago #32244

  • Michel Du
  • Michel Du's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 0
When you click on the "Center on my location" button, the map is centered on my current location and the bluedot_retina icon is displayed.
When I hover the mouse on this icon, I get the title "My location".
I wanted to translate this title. No way. When I look at your code (show.view.js), I can see this title is... hardcoded.
I try to modify the code to add something like this.translate.('TO_TRANSLATE') or Joomla.JText_('TO_TRANSLATE'). But this doesn't work !!!
Thanks for help.

My Location doesn't translate 8 years 6 months ago #32266

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Michael,
Please download the latest dev. release. The text should be now translatable. the string to translate is:
COM_HOTSPOTS_MY_LOCATION

Regards,
Daniel

My Location doesn't translate 8 years 6 months ago #32285

  • Michel Du
  • Michel Du's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 0
It works !
Thanks, Daniel.
  • Page:
  • 1
Time to create page: 0.147 seconds