I've found the solution, may be it will help others.
You have to modify layouts\default.php, change
- Code: Select all
$this->asidemenu->loadMenu($this->API->get('menu_name','mainmenu'));
to
- Code: Select all
$lang = JFactory::getLanguage();
$currentlang = substr($lang->getTag(), 0, 2);
$this->asidemenu->loadMenu('homemenu'. $currentlang);
There should be 2 menues:
- homemenuen
- homemenuru
("en" and "ru" are language codes, first 2 chars)