Closed (duplicate)
Project:
Location Map
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Feb 2014 at 11:41 UTC
Updated:
20 May 2016 at 01:50 UTC
Jump to comment: Most recent
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
Comment #1
ecvandenberg commentedI 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.
Comment #2
andrés chandía commentedThanks, 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.
Comment #3
john franklin commentedVariables should not be passed to
t(). See the API docs for details.Comment #4
john franklin commentedDuplicate of #1065848: Multilingual support.