I have a major problem now that I am trying to assign secondary links using i18n module. I'm building a site in three languages (english (default), french, arabic).

I've setup the primary links and secondary links for the three languages to be my "Menu containing primary/secondary links" in the Menu settings.

Then when I go to add a menu item, and select its parent item - the title of the menus are there, but the primary links are not, therefore making it impossible to add my secondary links item.

Please, if you can help please let me know as I've searched the site and don't find anyone having the same problems...

Thanks.

Comments

adshill’s picture

Priority: Critical » Normal

I'm not sure if this is a bug - or is purposely there, but I found a way to slove my issue above. In the Primary links items, I selected no language in the language settings and suddenly, bam! There were my links in the Parent item drop down of the secondary links. Strange... but it works.

lisa’s picture

I have experienced the same issue as described above. Can you clarify your work around in #1? Where is the "Primary links items" that you are referring to - on the admin->site building->menus page or when you are editing a specific node?

I think maybe adding an alias under the "URL path settings" for each node might have fussed up my menus, as I read elsewhere that using aliases messes up the menu module.

Another issue: when I go to edit a node, and try clicking "you may also edit the advanced settings for this menu item" under menu settings on the edit node page, clicking that link sends me to a blank white page. I don't know if this is an i18n issue, a menu module issue or what.

adshill’s picture

Hi Lisa,

For this project that I'm working on, I have not been using menu settings from within the node edit screen as I just found this very buggy and not so responsive. Instead I have been editing all the menu items from the menu page you mention above. (admin->site building->menus)

Therefore the workaround I mention refers to the language selector when you select a specific menu item. In my case I'm using French, Arabic and English, however when selecting the language of a specific menu item then there is the option to leave it blank (the default) rather than select a specific language. Leaving this blank means the menu item appears in all the "parent items" selectors.

I hope this makes sense. In honesty I've found there are all kinds of bugs like the repetition of menu items when editing them and other things, but I just grin and bare them and find ways around them as this is a time limited project and the time invested in the site is best used elsewhere. Also, I'm using a version of i18n from late last year so some of these problems may well have been ironed out.

Let me know if I can help any more.

Adam

lisa’s picture

Hi Adam,
I appreciate your clarification, but it doesn't seem to help in my situation.

When I try to create or modify menu items from admin->site building->menus as you described above, submitting the change results in a blank white page.

I am upgrading a 4.7.4 site to 5.7. I had primary links working in three languages on the 4.7.4 site but they don't work (can't select expand option by menu items) on the 5.7 site. All I can guess is something must not be right in my menu or i18n tables in the dB , and perhaps it has to do with upgrading from 4.7.4.

I guess I'll start over from scratch with a clean (empty) dB for 5.7 and try to create multilingual primary links.

I really appreciate the work that's gone into this module, but I agree with you that there still seem to be some critical bugs. Thanks again for trying to help.

adshill’s picture

I think that the integration of the module in core for 6 is a really great move, but knowing the sorts of little bugs and issues still in the 5.x version I can only imagine an upgrade from 4.7 to 5.7 being a massive job. I tend not to upgrade very often as most of the sites I develop are time limited so I don't know much about the upgrade process.

I wish you good luck and hope that you find a way around the problems you're having! Sorry I can't help much on this issue.

All the best,

Adam

lisa’s picture

Hi Adam,
Thought I'd let you know I at least got primary links working. See comment #1 here for what I did http://drupal.org/node/240627

In summary, when you go to admin->Site Building->Menus you'll see 4 tabs across the top of the page. The links that are on the list tab page do not seem to work properly with i18n. That is, neither the "add item" to create a new menu item nor the "edit" to edit an existing menu item work as expected.

Here's what seemed to work for me:

To create a new menu item use the "add menu item" tab (yes, the tab not the "add item" link on the list page).

To edit an existing menu item, go to the particular node and choose to edit it. From the edit node page scroll down to the "menu settings" section and modify as needed. (I know others have said modifying menu settings under node/edit is buggy, but when I tried editing an existing menu item from the list tab of admin->Site Building->Menus submitting the change resulted in a blank white page.)

For now, using the methods above I was able to create 3 primary menus in 3 languages, and the menu items can be expanded (have submenu items), as needed.

I'm mainly posting in case anyone else is hunting for solutions to this issue. Thanks for your help.

jose reyero’s picture

Component: Module i18nmenu » Documentation
Category: bug » support

See the handbook about multilingual variables, menus, etc..

Jerimee’s picture

This is a significant bug - it seems to me like i18n essentially breaks the menu system? Thank you Lisa for the work around, but does anyone have a fix on the actual problem?

How are people dealing with the fact that i18n prevents people from adding menu items from within the menus (unless you use Lisa's work around)?

jose reyero’s picture