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.
.. as the title says: menus are not translated as "i18nmenu" is now "i18n_menu" hence module_exists('i18n_menu') returns false on line 291 in site_map.module
Comment | File | Size | Author |
---|---|---|---|
#2 | site_map_i18n_fixes_1199282.patch | 1.78 KB | frjo |
Comments
Comment #1
fjen CreditAttribution: fjen commentedThis makes it work for 7.x-1.0-beta1 (around line 291):
if (module_exists('i18n_menu')) {
$tree = i18n_menu_localize_tree($tree, $language->language);
}
Comment #2
frjo CreditAttribution: frjo commentedThanks for finding this bug, i18n has changed from Drupal 6 to 7 and Site map needs to be updated to fix this.
Please try out this patch and report back your results here.
I also attempted to fix the support for i18n_taxonomy.
Comment #3
ataimist CreditAttribution: ataimist commentedDon't know about taxonomy (the site I tested this in doesn't use it), but otherwise this patch seems to work.
Comment #4
frjo CreditAttribution: frjo commentedCommitted to 7-dev.