Right now there are too many modules overriding the full tab just because the table data has no proper indexes. If it had then the modules wouldn't need to menu_alter() and override the whole tab and they could just use hook_page_alter().

The problem with many modules overriding the same tab is that they end up clashing as all of them try to menu_alter the same tab, and making them compatible requires some complex logic.

Some of the modules are Internationalization, Entity Translation, Translation overview, TMGMT, etc..

This patch just adds proper indexes for rows, and columns so the table looks just the same, but other modules can actually alter that data. It would be a great help for people working on 'multilingual' modules while changing basically nothing on Drupal core.

Comments

casey’s picture

Version: 7.x-dev » 8.x-dev
jose reyero’s picture

Updated patch for D8

plach’s picture

Reuploading the patch wthout version suffix to have it tested.

Status: Needs review » Needs work

The last submitted patch, 3: 1431142_content_translation_tab-name_columns.patch, failed testing.

alansaviolobo’s picture

Issue summary: View changes
Issue tags: +Needs reroll
jyotisankar’s picture

Version: 8.0.x-dev » 7.x-dev
Status: Needs work » Needs review
Issue tags: +SprintWeekend2015
StatusFileSize
new2.97 KB

The translation module is not used in drupal8, it is availabe in drupal7

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.