Download & Extend

Add a "translate" link in operations column on menus' "List links" page

Project:Internationalization
Version:7.x-1.x-dev
Component:Menus
Category:feature request
Priority:normal
Assigned:David Stosik
Status:needs review

Issue Summary

Hello,

Drupal core has a page that lists all menu items for each menu (path example: admin/structure/menu/manage/main-menu). This page lists the menu's links in a table, with an "Operations" column containing links such as "edit", "reset" or "delete". I suggest to add a "translate" link to allow users to create/edit menu translations.

I'm working on the patch right now, and will provide it soon (just thought of some checks I'd better add).

Regards,

David

Comments

#1

Status:active» needs review

Patch is attached here.
Feel free to test and give feedback.

Regards,
David

This patch is part of the #1day1patch initiative.

AttachmentSizeStatusTest resultOperations
1911548-1-i18n_menu-add_translate_operation.patch1.06 KBIdlePASSED: [[SimpleTest]]: [MySQL] 2,095 pass(es).View details | Re-test

#2

Just wanted to add a screenshot.

David

Add "translate" operation to menu items list page.

AttachmentSizeStatusTest resultOperations
Capture d’écran 2013-02-08 à 18.15.13.png87.6 KBIgnoredNoneNone

#3

Status:needs review» needs work

There's a admin/structure/menu/item/{}/translate inside, not sure the empty brackets are intended ;-)

#4

Status:needs work» needs review

I left an error in my patch, fixed in the one attached below.

AttachmentSizeStatusTest resultOperations
1911548-3-i18n_menu-add_translate_operation.patch1.06 KBIdlePASSED: [[SimpleTest]]: [MySQL] 2,095 pass(es).View details | Re-test
nobody click here