"Content language of view row" rendering option does not work in rss feed display

Created on 12 December 2017, almost 7 years ago
Updated 19 November 2024, 1 day ago

Hi,

I wanted to create a view in a multi-language site to list all translations of all nodes.

As per #2006606: Views rendering ignores entity language, eg: Identical nodes rendered in views when nodes have translations this should be easily done by just NOT filtering on the content language and using the "Content language of view row" rendering option which is the default and takes care of adding the langcode field to the rows, and it works fine for page displays: the translated content is rendered in the correct language.

However the behavior seems broken for feed displays, here all the different translations seem to be rendered in the original language of the node.

I am attaching the view which shows the problem.

To reproduce you need at least one node in two different languages, import the view, clear the cache, and by visiting /all-content you should see the two different translations, but visiting /all-content.xml you see the same translation twice, which is wrong.

Thanks,
Antonio

🐛 Bug report
Status

Closed: duplicate

Version

9.5

Component

views.module

Created by

🇮🇹Italy ao2

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024