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.
When using this module with multiple language, the entities returned are in the original language. will attach in a momment a one-line patch that gets the most adequate translation for the current context.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2652710-linkit-use-translated-entity.patch | 544 bytes | esclapes |
Comments
Comment #2
esclapes CreditAttribution: esclapes as a volunteer commentedThis patch does not change the behaviour for a single language site, but improves the experience when entity translations are available.
In some cases linking to entities is a different language might not be desired, so I gues that there should be a follow up issue to enhance EntityMatcher configuration to restrict results to current language only.
Comment #3
esclapes CreditAttribution: esclapes as a volunteer commentedDid not update status.
Comment #4
anonGood idea.
I would like a test that shows how this work.
Comment #5
anonThanks for the patch.