I had tried to find, without success, a way to translate the "Your approximate location" string when using Google Maps. The string doesn't even appear in the list of translatable texts of Drupal.

In my research in the module files I had found in the archive /js/ip_geoloc_gmap_multi_loc.js line 128:

            showSpecialMarker(m, visitorPosition, Drupal.t('Your approximate location (' + latitude + ', ' + longitude + ')'));

which appears to be the one that is not working.

Comments

RdeBoer’s picture

Thanks for your report Vuds.
The code uses Drupal.t() for the purpose of making the string translatable.
I thought this was the right thing to do but am not sure how this is all meant to work in a javascript context.
I'll have to research it.
Rik

RdeBoer’s picture

Sorry for this falling between the cracks...
Hope to attend to this in the next couple of days...

RdeBoer’s picture

Finally.... 1 year later it's done... So sorry....

  • RdeBoer committed 3c6ff74 on 7.x-1.x
    Set zIndex so that visitor marker is on top. Make 'Your approx.location...
RdeBoer’s picture

Assigned: Unassigned » RdeBoer
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.