Hello,
- $title = check_plain($result);
line 376 replace to this?
+ $title = (function_exists('tt')) ? tt('menu:menu:'. $menu_name .':title', check_plain($result)) : check_plain($result);

Is it bad solution?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bsztreha’s picture

Version: 6.x-2.1-beta2 » 6.x-2.1
Status: Needs review » Active

Anyone can comment it?

add1sun’s picture

Seems sane. I don't have any multilingual sites set up and haven't had a chance to test this. If someone can review and give a +1, I'll roll it in.

mrf’s picture

Version: 6.x-2.1 » 7.x-2.x-dev
Category: feature » bug
FileSize
388 bytes

$title already gets run through a check_plain before it hits this point so this simpler solution works for me.

reszli’s picture

additionally to the title of the menu, I also needed to add a couple of t() functions for the menu items as well
to make a nicemenu block render the menu items in the current language

xiukun.zhou’s picture

Status: Closed (fixed) » Active
xiukun.zhou’s picture

Status: Active » Closed (fixed)

Status: Active » Closed (fixed)