Project:Dynamic Persistent Menu
Version:6.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Thank you for this menu. Loving it.

I'm using this module for a multilingual website. Some of the menu items were set to a different language. Despite this, that menus item still being displayed.

I tried "Multilingual Variables" #313272.

// Primary and secondary links
  'primary-links',

Any idea what I can do?

Comments

#1

Try this

'menu_primary_links_source',
'menu_secondary_links_source',
'menu_default_node_menu',
'dynamic_persistent_menu_menu_root',

#2

Not hiding for me
Is this working for you

#3

Yes, it does.

Note, you will not see "This is a multilingual field". But it works.

When I change to my other language, it will display secondary menu.

#4

I created seperate primary menu items for two languages
it is showing all the menus

#5

Do you see any variable listed in i18n_variables table? (If not, check your typo in settings.php)

Set both menu (primary and secondary) language to neutral.

1. On the block configuration for this block, "Menu root:", select Primary for your default language. Click Save.

2. Go to the same block configuration, now, enter the language code, e.g. http://example.com/zh-hans/admin/build/block/configure/dynamic_persisten..., Go to "Menu root:", select "Secondary Links"

Go back to your default language i.e. remove zh-hans in the URL. Verify that you have "Primary link" for your default language in "Menu root:".

If you can't see this, I suspect your variable is not right.

Post the last part of your settings.php (variable parts).

#6

@jessicakoh
Thank you so much
it's working great now
thanks for your help

#7

Status:active» closed (fixed)

no problemo.

nobody click here