Menu-item language should equal node language
tdskate - May 5, 2009 - 08:17
| Project: | Node Hierarchy |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Hi,
I have the i18n module installed, I can set nodes and menu-items to a specific language.
When I use Node Hierarchy, the automatic menu items that are created always default to English.
When I edit & save the menu-item to its correct language, and I edit the node again, the menu-item changes back to English.
Thanks,
Thomas

#1
No replies? Was I not supposed to file this under bug reports?
#2
No, a bug report is right. I'm just not as up on my issue queue as I'd like to be.
I don't use i18n at all so I'm not familiar with this issue, but when I get a chance I'll set up a demo environment and try and reproduce it.
Thanks
Ronan
#3
Hi Ronan,
I'm gonna need this to work in a future project.
Could you maybe hint me in the right direction? Maybe I can fix it.
I have no idea where to start looking ...
thankx
td.
#4
Subscribing
#5
In attachment is a patch that resolves this issue.
This patch probably only applies to the latest official release (nodehierarchy-6.x-1.2 - CVS tag DRUPAL-6--1-2) .
I noticed later versions of the DRUPAL-6--1 branch have been rewritten, so the patch doesn't apply there anymore. I should investigate the new functionalities to find out how to apply it there.
Anyway, attaching it here for anyone who is still using the latest official release and having this problem as well.