I have drupal 6.14 with these modules installed.

site map version 6.x-2.x-dev (2009-Dec-07)
internationalization 6.x.1.1

When I switch to french, the links in the menu get changed to french, but the menu title is not changing.
(Ie menu title says Care Menu for both english and french)

I have translated the menus using the translation interface.

site-map.jpg55.83 KBorchard
Members fund testing for the Drupal project. Drupal Association Learn more


zilverdistel’s picture

Same problem here,

I also use taxonomy menu, if that's any help ...

the versions I use:

drupal core: 6.13
I18n: 6.x-1.3
sitemap: 6.x-1.2
taxonomy menu: 6.x-2.4-beta1

@orchard: are you also using taxonomy menu?

zilverdistel’s picture

Issue tags: +i18n
orchard’s picture

I am not using the taxonomy menu, just the sitemap module and internationalization.

hass’s picture

Category: bug » support
Status: Active » Fixed

You need to add the 2 fields to i18n_variables, translate them. Not an issue of this module.

Status: Fixed » Closed (fixed)

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

GoZ’s picture

Status: Closed (fixed) » Active

I have same problem.
Menu title is in english and is translatable and translated in my language. But it can't display translated in sitemap page because t() is never called.
I don't use i18n module but only locale core module.

In _site_map_menus()

if (!empty($menu_display)) {
  $title = $menu['title'];
  $output .= theme('site_map_box', $title, $menu_display, 'site-map-menu-box');

Should be to render translated menu title :

if (!empty($menu_display)) {
  $title = t($menu['title']);
  $output .= theme('site_map_box', $title, $menu_display, 'site-map-menu-box');
guillaume.d’s picture

Same problem here,

Thx for the tips.

Hope it will be integrated in the next version.

larsmw’s picture

This seems to be a problem in 7.x-1.0 as well! I have manually patched 7.x-1.0 to solve this issue.

robbertnl’s picture

Yes it is. I just wanted to make a patch for this, but its already in Git (latest dev version).

Anybody’s picture

The problem still exists. What about a new stable version soon? This is really problematic for non-english-speaking countries!

Anybody’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community

I confirm that the latest D7 .dev version works fine and fixes this bug.

For further information: The menu (incl. title) was already translated correctly and all required modules were installed. Just the sitemap in the current D7 stable does not display the menu title correctly. The latest .dev does.

hass’s picture

Status: Reviewed & tested by the community » Closed (works as designed)

This is not RTBC . You need i18n_variables module.