If you use Gantry Menu Widget:
1) you must create a menu for each language.
2) you must edit the file “plugins/gantry/widgets/menu.php”. Replace the function “initializeMenu” with this:
protected function initializeMenu($instance = null)
{
$menu = null;
if (null == $instance) {
$instance = $this->getInstance();
}
if (array_key_exists("nav_menu", $instance) && function_exists('cml_get_menu_name')) {
$nav_menu = cml_get_menu_name($instance['nam_menu']);
$instance['nav_menu'] = $nav_menu;
}
if (array_key_exists($instance['theme'], self::$themes)) {
$theme_info = self::$themes[$instance['theme']];
$theme = new $theme_info['class'];
$menu = new GantryMenu($theme, $instance);
$menu->initialize();
} else {
$this->error_message = _g('MISSING_MENU_THEME_MESSAGE');
}
return $menu;
}
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Now all works correctly ??