Group content links in views don't translate

Created on 8 February 2024, about 1 year ago

Problem/Motivation

Not sure if this is a Group or Views issue, but reporting here as it seems likely related to Group (but feel free to close if not).

When creating a view of group content (or group relationships, or whatever they're called these days) on a multilingual site, if you add a Group relationship title field and check the "Link to the Group relationship" option, the link does not get translated when switching languages. If you add a "Link to group relationship" field, exclude it from display, and rewrite the title field as a link field using the Link to group relationship field output, the link is correctly translated.

Steps to reproduce

  1. Create a view of group relationships on a multilingual site with at least one other language enabled
  2. Add a "Group relationship title" field to the view and leave the "Link to the group relationship" option checked in the field configuration
  3. Be sure you have translated at least one group relationship that will display in the view
  4. While viewing the view output, switch to the translation language and note that the link to the translated content is still in the original language

In case it's relevant, the site I'm working on where I discovered this issue is using URL detection for language switching.

It's always possible I'm doing something wrong, but this doesn't seem to work as expected.

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇨🇦Canada plousia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024