Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
content_translation.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Jun 2018 at 22:58 UTC
Updated:
15 Dec 2023 at 15:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
heilop commentedI create the patch to enable the "delete" operation.

After applying the patch, the translate tab shows:
Comment #3
heilop commentedComment #4
waspper commentedLooks like a useful feature. Subscribing.
Comment #5
edutrul commentedThis is very useful! and patch works as expected! thanks @heilop
Comment #6
langelhc commentedSubscribing++
Comment #7
langelhc commentedI followed these steps to test this patch:
- Install a clean D7 installation.
- Enable Local and Content Translation core modules.
- Enable Multilingual support selecting `Enabled, with translation` option. e.g. Article content type `admin/structure/types/manage/article`.
- Add a new language to the site `admin/config/regional/language/add` e.g. Spanish.
- Create a new article `node/add/article` select English in `Language` field.
- Then click on `Translate` tab and Add Translation for Spanish.
- Go back to Translation tab (node/NID/translate) and you will see the 'delete' link I test it and it worked like a charm.
Also, I created a new Editor role and I added permissions to Create, Delete articles, and Translate content. I can confirm that Only users with one of these permissions can delete translations using the new delete link:
Article: Delete own content
Article: Delete any content
Tagging this issue as RTBTC
Comment #8
langelhc commentedComment #9
vacho commentedThis is a very usefull feature. The patch works fine.
Comment #10
poker10 commentedThanks for the patch, it looks good. Changing the category, as this is a Feature request.
Comment #11
poker10 commentedComment #12
poker10 commentedI think this is good suggestion. The same link is present in the D10, see the screenshot. Let's add a tag for a final review.
Comment #14
mcdruid commentedLooks great, thanks!
Still needs the CR (which can be very simple).
Comment #15
poker10 commentedI have drafted a simple CR: https://www.drupal.org/node/3405563