Use translated menu items, if applicable.
Can anyone tell me if this has been addressed for 7?
I have translated my menus which are working fine in every module except this one.
7.x version Implemented in this commit.
Please grab the latest dev release (created after this comment) or commit to 7.x branch, test, and report back.
6.x version Implemented in this commit.
Please grab the latest dev release (created after this comment) or commit to 6.x branch, test, and report back.
Thanks for this update. It works great.
Automatically closed -- issue fixed for 2 weeks with no activity.
It is still not working, i have trying it.
I have see in the code
// Localize the tree. if (module_exists('i18nmenu')) { i18nmenu_localize_tree($tree); }
and look at the localization module and the module name is not same so I have changing it to
// Localize the tree. if (module_exists('i18n_menu')) { $tree = i18n_menu_localize_tree($tree); }
and now its working, please update it on the stable release.
Thanks for the good work
Solution for Drupal 7
in /all/modules/accordion_menu/includes/view.inc (21)
Change to
// Localize the tree. if (function_exists('i18n_menu_localize_tree')) { $tree = i18n_menu_localize_tree($tree); }
its working for me
Comments
Comment #1
rtdean93 commentedCan anyone tell me if this has been addressed for 7?
I have translated my menus which are working fine in every module except this one.
Comment #2
solotandem commented7.x version
Implemented in this commit.
Please grab the latest dev release (created after this comment) or commit to 7.x branch, test, and report back.
6.x version
Implemented in this commit.
Please grab the latest dev release (created after this comment) or commit to 6.x branch, test, and report back.
Comment #3
rtdean93 commentedThanks for this update. It works great.
Comment #5
wiliam_steven commentedIt is still not working, i have trying it.
I have see in the code
// Localize the tree.
if (module_exists('i18nmenu')) {
i18nmenu_localize_tree($tree);
}
and look at the localization module and the module name is not same so I have changing it to
// Localize the tree.
if (module_exists('i18n_menu')) {
$tree = i18n_menu_localize_tree($tree);
}
and now its working, please update it on the stable release.
Thanks for the good work
Comment #6
esunger commentedSolution for Drupal 7
in /all/modules/accordion_menu/includes/view.inc (21)
// Localize the tree.
if (module_exists('i18nmenu')) {
i18nmenu_localize_tree($tree);
}
Change to
// Localize the tree.
if (function_exists('i18n_menu_localize_tree')) {
$tree = i18n_menu_localize_tree($tree);
}
its working for me