Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293733

Menu link title/description not translated

$
0
0

Problem/Motivation

When using the Content Translation module the menu link title is not translated, although the language was switched. The same goes with the hover description.

Steps to reproduce

  • install Content Translation module with dependency Language module
  • in the Content Translation configuration turn on content and basic page, as well as Custom menu link
  • add another language to your site (admin/config/regional/language)
  • create a basic page (with title and body), click Provide a menu link, add a menu link title/description, hit save
  • use the translate tab to create a new translation of this very site and give it a different menu link title
  • in the frontend change the language. only the last given menu link/description title is presented - regardless of the language set

Expected behavior

When editing a translation, the menu title link/description should be bound to the current language. Like the content switches language, the menu link title should switch, too.

Workaround

  • go to structur>menus (admin/structure/menu) and edit the main navigation
  • in the list click on the newly generated menu entry and use the translate tab, to set a new translation for this menu

Final notes

going back to the basic page editing: saving the existing content in the different languages will only overwrite the custom menu of the primary language. The values for menu title link and description will be prefilled with and changes will affect only the primary language.


Viewing all articles
Browse latest Browse all 293733

Trending Articles