Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: ecvandenberg as a volunteer 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 CreditAttribution: 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 CreditAttribution: John Franklin commentedVariables should not be passed to
t()
. See the API docs for details.Comment #4
John Franklin CreditAttribution: John Franklin commentedDuplicate of #1065848: Multilingual support.