Hi,

Translation of the page title is not shown on the view location map page, since it's ok on the edit page.

You should replace in locationmap.module
line 282: drupal_set_title($locationmap_title);

by

drupal_set_title(t($locationmap_title));

Hope this could help,
Pierre

Comments

ecvandenberg’s picture

I can confirm this patch works on my multi-langual Drupal 7.38 site.

Although the way to enter the translated titles is a bit strange. First you put your site in the required language you want the title translated in. Then you enter the translates title on locationmap/edit.

Hope this will be implemented in a next release.

Andrés Chandía’s picture

Thanks, this worked for the title, but I need to translate from the map page:

Marker Information
Additional information (displayed above map)
Additional information (displayed below map)

How do I do that?

Thanks again.

John Franklin’s picture

Status: Active » Needs work

Variables should not be passed to t(). See the API docs for details.

John Franklin’s picture

Status: Needs work » Closed (duplicate)