Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
I have some buttons that should hide/appear on the top menu based on selected language.
Unfortunately the theme mistakenly displays all menu items irrespective of the language selected, without taking into consideration the drupal settings.
Comments
Comment #1
devsaran CreditAttribution: devsaran commentedI tested this theme well.. It works well with Internationalization. Maybe, there may be mistake in the site.. No Other user reported the Internationalization issue with business theme earlier.
Comment #2
skyswather CreditAttribution: skyswather commentedHi!
Translations are working ok if title of menu item is has been translated.
The problem appears only when an entire item of the main menu is set in a specific language by selecting the appropriate language in 'Item belongs to a multilingual menu' option on the item's creation page.
This menu item should then hide/appear based on selected language. Currently all buttons, irrespective of the set language appear, regardless of the set language (If some have translated text though, that is translated normally).
Comment #3
francoud CreditAttribution: francoud commentedI've the same problem. All menu items are shown, no matter their defined language. The menu translation works perfectly with the "bartik" and "garland" themes... so i deduced it's something in the "business" theme.
I solved replacing, in page.tpl.php and page-front.tpl.php, the original code with the following:
For me it works. Note: http://drupal.org/node/1218924#comment-5635240 (different theme, same issue)
Comment #4
lklimek CreditAttribution: lklimek commentedHi
I have the same problem. Solution from #3 works for me.
Comment #5
devsaran CreditAttribution: devsaran commentedIt is fixed in 7.x-1.7