Hi there,

there is a problem with a multilanguage setup.
I have primary links with some sub-links (child-links) for each primary link. One of this sub-link is the image gallery, that points to ".../image". The standard language works perfect, but if I switch to english (link points to ".../en/english"), the menu with the sub-links disappears.

Is there any solution?
Many thanks in advance!

Comments

Ricmar’s picture

I had this problem also at one point when making a multi language site, i found this page helpful and it did correct the problem.

http://drupal.org/node/275705

Hope this helps

bl4’s picture

Thanks for your reply.
I've tried the hints in all possible ways but I can't find a solution.

My foreign language menu looks like that:
Front
Information
-Info1
-Gallery
-Info2
Contact

Everything works perfect after pushing the language button, except the Gallery. After switching the language, the submenu (secondary) is missing completly:

Front
Information
Contact

It does not refer to the theme, I think it must have something to do with the gallery module or the the i18n module.

Any idea?

Ricmar’s picture

On my multi menu, I have the option to choose which language each menu item will be in, if you want that sub-menu item to be visible in both languages you need to select 'all languages'

My menu looks like this

Home (language selected english)
Hem (language selected swedish)

About (language selected english)
Om (language selected swedish)

Then depending on which language is active, the relevant menu item is visible. Whether or not this is the correct way to use the language translator i dont know but it works. So if you were to add a sub menu, you would need 2 more items, one in each language.

This is my understanding of the language tutorial. When I got stuck I started over with the tutorial, and it seemed to work fine, otherwise im not sure what the issue could be.

bl4’s picture

Yes the tutorial works great, everything is fine except the gallery from the image module.

I tried everything but the secondary links menu still disappears, after switching to language on the gallery site.

TrentCats’s picture

Posted by GarP on May 3, 2009 at 11:13pm
Had the same problem that Fogg had when started this thread. Found a solution that worked for me at http://drupal.org/node/432092.
Which was --- Remove/comment out this line in gallery.module:
drupal_alter('gallery_page', $result, array());
Thanks to sparr who posted it, whom in turn thanked takahiro. And, also to Qlof for posting it in the node/432092.

Pasted from