could it be done! Different default menu per language?

Comments

mattez’s picture

TIP: It should use somehow "multilingual variables" (sorry but not programmer).
How to solve this? any hints? THNX 2 ALL

http://drupal.org/node/313272#comment-1459560

If you also want to be able to set the default menu for nodes, then make sure you also add 'menu_default_node_menu' to the list of localizable variables in settings.php.

But it doesnt work for me (node_menu_parent 6.x-1.1)

jcarnett’s picture

@mattez "menu_default_node_menu" is a variable used by the menu module.

You could theoretically use i18n_variables by referring to the variable "nmp_{type}" (i.e. "nmp_page"), or maybe just "nmp." I haven't actually tried it, but I see no reason it wouldn't work like any other variable. If that works for you, let me know.

icyread’s picture

I have tried these

'nmp'
'nmp_product' //'product' is content type
'node_menu_parent'

but not success...

jcarnett’s picture

It's not apparent from the i18n documentation, but multilingual variables only works for forms using system_settings_form() (which content type forms do not use). I'll implement multilingual support for the next release.

matulis’s picture

+1 for multilingual variable