I have a site with two languages enabled where the default language is Danish (the other language is Greenlandic).

With Features, you can export menu items, but it is currently not able to handle translated menu items.

The way menu items are translated in D6, you create one menu item for each language. So we have "Forside" and "Saqqaa" both pointing to taxonomy/term/1, one's language is set to Danish and the other's to Greenlandic. However, when configuring your feature to export menu items, it only lists the Danish items, and the exported menu links array contains only the Danish links as well.

This seems to be the case because the Features module assumes there will only be one menu item linking to a path in a menu – the menu array is keyed like $menu_links['primary-links:taxonomy/term/1'] = array(); , which means that having to menu items with the same path in the same menu is impossible.

I don't know an easy remedy for this. One approach could be to add the language to the array key, but there may still be other cases where you would want to have more than one menu item pointing to the same thing.

Comments

Grayside’s picture

Title: Translated menu links not exported correctly (menu item exporter assumes unique paths) » Support Export of Menu Link Translations
Category: bug » feature

Sounds like a feature request so menu link exports include language support. If this hasn't been addressed yet, it's not a bug.

Grayside’s picture

Double Post

Grayside’s picture

Triple Post

Grayside’s picture

Quadrupal post.

mpotter’s picture

Status: Active » Closed (won't fix)

Closing this for lack of activity. Please re-open this issue if you can reproduce it in the latest version.