Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts.
Hi,
When I create a menu entry with menuux, the language of the menu item is always set as "undefined". Disabling menuux, re-saving a node with a menu item attached to it, and the item receives a language. When handling create/edit/update of menu items, do you take i18n_menu into account?
Regards,
Oliver
Comments
Comment #1
Anonymous (not verified) commentedHere's a dirty hack to get the language field set in the menu items table based on the language chosen on the node add/edit form. Doesn't take into account translation sets et cetera, but I'm not sure if that's even necessary at this point?
Comment #2
stolzenhain commentedHello! Just stumbled over the same problem – thanks for the hint – a more robust approach for a fix would be very much appreciated.
Comment #3
Anonymous (not verified) commentedThe "fix" I posted above works however, I run it on multiple productive sites without problems. However: I forked the module locally to make some other adjustments related to i18n since this aspect isn't covered at all by the module itself, but my changes are very specific, related to my projects. I would love to see built-in i18n support too, but I think this is something the module's maintainer has to look into. I shared another patch in the issue queue related to i18n which should be helpful as a starting point for a proper integration.
Comment #4
stolzenhain commentedJust adding for reference:
Also, in the issue queue there is another language-related bug+fix: