Setup site as multilingual (2 languages).
Create for each of the two languages:
The flag link for lang2 should point to HOME of lang2 that is MENU_BLOG-lang2.
The flag link for lang2 points to another menu item: the MENU_LIST-lang2, probably fooled by having the same category pointed by two menus. Infact just unpublishing MENU_LIST in both languages makes the association between home menus work correctly.
windows 7
Ok, since the exact Association is explicitly stored in the DB, it should be possible to use that instead of trying to recalculate with the router the other language menu item… am I right?
@infograf768: actually that is not the problem: also if the two menu items are of the same type (like both catefory blog), changing language when the user is on the home page is wrong: the navigation is not directed to the home page in the other language but to the other menu item pointing to the same category.
This is a known issue which cannot be resolved in this version of Joomla. If code is provided (a pull request) it can always be re-examined. I am closing this here at this time.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-08 09:51:57 |
Closed_By | ⇒ | brianteeman |
Just a question: I was not raising an issue on Joomla code/routing as a whole but only to the language switcher module that presents wrong hyperlinks on the language flags when the same category is pointed by multiple menu items: since the association between menu items in the different languages is stored in the DB, why the language switcher does not simply read from the #__associations table? Wouldn't it solve this issue?
Thanks
Giuse
As far as I remember, this is a known issue when we have 2 menu items displaying the same category, one as List, the other as Blog.