I had a problem when i create or update a menu with menu editor, it did not insert in translation tables ( in table locales_source ).
I solved this problem with this patch :
I added a $item['parent'] before _i18nmenu_update_item($item); cause _i18nmenu_update_item wait for a $item['parent'] not empty.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pierre_cotiniere’s picture

FileSize
473 bytes
pierre_cotiniere’s picture

FileSize
514 bytes

Other problem : when deleting item, the translation menu for this item is not deleted.
Here is the patch which solve this problem.

donquixote’s picture

Your patches look quite reasonable to me. I will run some tests soon.
Thanks!

donquixote’s picture

committed to -dev.
(I'm slow nowadays..)

donquixote’s picture

Status: Needs review » Fixed

Now available in 2.x-RC1

Status: Fixed » Closed (fixed)

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