Make Coffee search for also the translated menu links titles, besides that Coffee should always return the result in the current language.

CommentFileSizeAuthor
#4 coffee-1450314-4.patch451 byteshansfn

Comments

simon_s’s picture

Thanks for adding my request from twitter to the issue queue! :)

heylookalive’s picture

Version: 7.x-1.0 » 7.x-2.x-dev
Assigned: michaelmol » heylookalive
Status: Active » Fixed

Hi, this is now resolved in the 2.x branch as we make use of menu_tree_all_data().

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

hansfn’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new451 bytes

I'm not sure if this worked before, but under Drupal 7.19 it doesn't work for sure. The translated menu title is under the title key, not link_title - see attached patch which fixes this for me.

heylookalive’s picture

Status: Needs review » Closed (fixed)

You're right! Thanks for the code, committed :)

  • Commit 742ebf4 on 7.x-2.x, 8.x-1.x by heylookalive:
    Issue #1450314 - Titles of menu items are not translated, fixed by...