-
My current Orchard Core Version is 1.3 I am trying to render menus by id into a dedicated zone of my layout.liquid. In the Preview of my localized LandingPage the correct localized menu never renders.
The used code for rendering the new menu shape is this:
Also within the Menu-Template, I do render an HTML comment, but here I get the Data for standard language of the localized menu instead of the one, which is rendered in the other HTML comment. So the content of the shape changes during rendering from one language to another!? What is wrong? Here both HTML comments: outside comment: inside comment: Both menu translations have seperate aliases: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to simply create 2 different menus without using a LocalizationPart. It's unnecessary to localize the MenuItems if you can have 2 different menus that can be retrieved with an Alias with a culture suffix / prefix. |
Beta Was this translation helpful? Give feedback.
You need to simply create 2 different menus without using a LocalizationPart. It's unnecessary to localize the MenuItems if you can have 2 different menus that can be retrieved with an Alias with a culture suffix / prefix.