Hi everyone,
I have a bilingual Drupal site with menus that aren't behaving as I'd hoped. I have a menu in the right column of my theme that I have added items to that are both in English and in Spanish, and have identified them as such in their item settings. My expectation is that I can drop this menu's block into the right column and the page will show English links if it's on an English page, and Spanish links on spanish pages. This works well for the 1st Spanish page you visit, but navigating to any other spanish page on the site causes the English links to appear in the side nav. So the only time I ever get the Spanish menu items is the very 1st Spanish page I hit.
I've tried breaking this out into two seperate menues, putting them both in the same section of my theme, and then using the block level settings to show the appropriate menu based on the language, but I get the same results, I only ever get the Spanish menu on the very 1st Spanish page I visit.
Am I doing something wrong? Is there any way to detect the language settings of a node using php, if so I could write a test and run that on every page to figure out which menu or menu items to show. Any help is greatly appreciated!
Read »








