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.
Sitemap return only current language menu items.
Language neutral items are ignored.
Same problem here with nice_menus #1332396: Incopability with i18nmenu_node module.
site_map.module line 272:
// Use menu_tree_all_data to retrieve the expanded tree.
$tree = menu_tree_all_data($mid);
if (module_exists('i18nmenu')) {
i18nmenu_localize_tree($tree);
}
replace by:
if (module_exists('i18nmenu')) {
i18n_selection_mode('off');
}
// Use menu_tree_all_data to retrieve the expanded tree.
$tree = menu_tree_all_data($mid);
if (module_exists('i18nmenu')) {
i18n_selection_mode('reset');
i18nmenu_localize_tree($tree);
}
Comments
Comment #1
daffodilsoftware CreditAttribution: daffodilsoftware commentedSitemap page is showing the language neutral items. I didn't face this issue.