hi, this may or may not be related to another issue, so I'm creating a new issue just in case.. if it's a duplicate please delete! :)
So I created a custom menu with English and French menu items pointing to external URLS (English/French versions ex: somesite.xx/en and somesite.xx/fr) (not my site).
I created translation sets for all these menu items.
Now, when I load this custom menu in any blocks within my site, both the English and French menu items are being displaying no matter which language I'm loading.
Menu items being added by nodes (pages created) seem to work properly. Seems to be an issue with custom menus.
Am I doing something wrong?
Thanks
Comments
Comment #1
idflood commentedI've reproduced the issue with a custom menu. It seems the 'i18n_mode' field isn't saved in the block database. No matter which multilingual option it has, the field is always == 0.
Then, the function i18n_menu_block_view_alter() in i18n_menu.module never has any effect. Removing the ' && !empty($block->i18n_mode)' make it "works". But I will see if I can find a proper fix.
Comment #2
idflood commentedmarking this as duplicate of #1152680: Menu items not translated with localize, feel free to reopen if it's not the case.