Postponed
Project:
Drupal core
Version:
main
Component:
link.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2020 at 16:16 UTC
Updated:
3 Feb 2026 at 17:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
penyaskitoAdded related task and retitled.
Comment #3
penyaskitoChanges in the LinkItem are quite straightforward, the biggest task here is the UI issue related to #3152587: Add a mark when editing a field property will affect all the translations as we do with fields themselves
Comment #4
penyaskitoIf that issue went in, for links it should be as the patch attached.
Comment #7
penyaskitoComment #9
technotim2010 commentedWhat is the current status of this issue and this patch?
Considering it's use on a heavily multilingual website and would like to know if there are any known issues, blockers or other reasons progress appears to have stalled. Has it for example been overtaken by other core developments?
Thanks as always for all you do for the Community and Drupal.
Regards
Tim
Comment #12
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
Think it's a valid request to be able to translate links but isn't that already possible?
During content translation you can change the title text to the language you are translating too.
If the desire is to use for user interface translation not sure that's the correct way but tagging for subsystem maintainer for their thoughts. Would also leverage the #contribute slack channel.
Comment #13
penyaskito@smustgrave Right now, you can translate all or nothing. The issue is about adding that granularity. You might want to let translators translate the link title, but not the url destination itself. As we do with images.
Comment #14
penyaskitoAdding screenshot so it's more clear.
Comment #16
smustgrave commentedWe did something very similar for image fields lately so don't see why links could be any different.
Comment #19
duaelfrI rerolled @penyaskito's #4 patch on 11.x in a new MR
Comment #20
duaelfrRerolled on the latest 11.x
+ added the ability to configure link options translatability (might be used by contrib like Link Target)
Comment #21
smustgrave commentedThanks for reviving, Moving to NW for test coverage.
Comment #22
ipitbiz commentedHi all,
I add a patch for version 10.3 and 11 because the one that is visible now only works for 10.2.
Comment #23
dahousecat commentedThe last patch fails on 10.2.7 as LinkItem now provides it's config via annotation.
Comment #24
lobodakyrylo commentedPatch #23 doesn't work for the 10.4 version.
Comment #25
dcam commentedIt sounds like this should be postponed on #3152587: Add a mark when editing a field property will affect all the translations as we do with fields themselves.
Comment #27
duaelfrMR rerolled
Patch attached for composer