Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2-i18nmenu_compat_delete.patch | 514 bytes | pierre_cotiniere |
#1 | 1-i18nmenu_compat.patch | 473 bytes | pierre_cotiniere |
Comments
Comment #1
pierre_cotiniere CreditAttribution: pierre_cotiniere commentedComment #2
pierre_cotiniere CreditAttribution: pierre_cotiniere commentedOther problem : when deleting item, the translation menu for this item is not deleted.
Here is the patch which solve this problem.
Comment #3
donquixote CreditAttribution: donquixote commentedYour patches look quite reasonable to me. I will run some tests soon.
Thanks!
Comment #4
donquixote CreditAttribution: donquixote commentedcommitted to -dev.
(I'm slow nowadays..)
Comment #5
donquixote CreditAttribution: donquixote commentedNow available in 2.x-RC1