Hi! I'm using i18nmenu_node and the menu works fine: items area correctly translated (even menu_block) but I've a problem with the breadcrumb: it looks that the breadcrumb system doesn't know about the translated trail.

Example:

  • default language: IT
  • secondary language: EN

Primary links menu structure:
- Node A_it
- - Node A.1_it
- - Node A.2_it
- Node B_it

Every node is translated and has a "menu item translation" thanks to i18nmenu_node.

When current node is A.1_it and the language is IT, the standard drupal breadcrumb is: [ Home_it > Node A_it ]

When the current node is A.1_en and language is EN the breadcrumb, instead of being [ Home_en > Node A_en ], is [ Home_en ]. Probably because the active trail of the EN node doesn't really exists.

I've also discovered a side effect enabling menutrails module which alters the breadcrumb in this way: [ Home_en > Node A_it > Node A.1_it ].

Did anyone else experienced this kind of problem with breadcrumb when using i18nmenu_node?

The test was done using:

  • Drupal 6.22
  • i18nmenu_node 6.x-1.2
  • i18n 6.x-1.10

EDIT: I'm sorry, I've done the tests with "custom breadcrumbs" module enabled. The default Drupal breadcrumb uses the navigation menu as breadcrumb trail. I'll have to do some more tests.
Anyway there is an incompatibility between modules like custom breadcrumb (and menutrails) or menu_breadcrumb with i18nmenu_node.

Comments

FiNeX’s picture

Project: Menu translation (Node) » Custom Breadcrumbs
Issue summary: View changes

The report is not accurate. Further tests are needed.

FiNeX’s picture

Issue summary: View changes

Added correct "del" tags

FiNeX’s picture

Version: 6.x-1.2 » 6.x-2.x-dev
Component: Code » Documentation

UPDATE: after some more investigation I've found a clean solution which allows to use i18nmenu_node with custom_breadcrumbs in order to display the correct breadcrumb trail based on any menu.

  1. Enable and configure i18nmenu_node
  2. Disable "Use the menu structure to set the breadcrumb trail" on custom breadcrumbs
  3. Set a new node custom breadcrumb using the special identifier "<menu-parent-trail>" (provided by custom breadcrumbs identifier module"

I've moved this report to the custom breadcrumbs documentation issue queue in order to update the docs.

Thanks.

FiNeX’s picture

Issue summary: View changes

"del" tags added

lamp5’s picture

Status: Active » Closed (outdated)