Hi,

I'm fairly new to drupal and to the theming.
My site is translated in 2 languages using the default Drupal functionality and i18n module.
I created a base Main Menu and in the Bartik theme the menu shows properly, in English only the English menu, and when I switch to french, the french translation of the menu appears.

However in the OM Base Theme 7.x-2.19 theme all the menus are shown in all the languges, meaning that botht eh English and French Main Menu items are shown in the same time.

Can you please let me know if I can help debugging... I'll be happy to do so.

Best regards,
Fosten

Comments

danielhonrade’s picture

Hi,

Yes, please.

Daniel

pureh2o’s picture

Hi Daniel,

Was your reply for me? If, yes, just let me know how I can help, I can attach print screens if needed, or check in the db... on the filesystem...

Regards,
Fosten

danielhonrade’s picture

It's for you fostensari, sorry for not stating your name on my first reply.

Yes, please attach the screenshots of this bug.

daniel

pureh2o’s picture

StatusFileSize
new66.21 KB

Hi Daniel,

I just uploaded an archive with 6 print screens. The filenames contain the theme. In the Bartik theme printscreens the menus appear only once(in the appropiate language), in the OM Base Theme all menus appear.

I do not know if it's a bug, I just think it's not normal. Maybe it's something wrong with my site...

Thank you,
Fosten

danielhonrade’s picture

StatusFileSize
new3.01 KB

Hi fostensari,

I made some adjustments.

I attached the file, just unzip and replace your /om/core/template.php with this, and see if it will work.

Thanks,
Daniel

pureh2o’s picture

Hi Daniel,

It worked, the menus are shown now only once in their intended language.
Many thanks.

Fosten

danielhonrade’s picture

Status: Active » Closed (fixed)

Ok, committed on dev