"Rendering language" setting of Views does not respect

Created on 25 August 2022, over 2 years ago
Updated 17 January 2023, over 2 years ago

Problem/Motivation

"Rendering language" setting of Views does not respect when using "Make field dependent using views" for children field.
This problem does not occur with ajax update, but only once when the edit form is loaded.

Similar issue: https://www.drupal.org/project/drupal/issues/2174633

Steps to reproduce

1. Enable language, content translation, interface translation module
2. Add some language such as Japanese ('ja')
3. Create some taxonomy terms and its translation
4. Create term reference view with "Rendering language" set to "Interface text language selected for page" by Views
5. Edit the children field settings and select the "Make field dependent using views" option on the Reference type, and select view that created by previous step on the "View used to select the entities".
6. Create a new node with fill in parent field and child field.
7. Open edit form of node with non-default language (ex. /ja/node/edit/1)
8. You can see the children field is not translated.

Proposed resolution

Display the string through `ViewsRenderPipelineMarkup` as a label to repect "Rendering language" setting of Views.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇯🇵Japan blauerberg

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.

No activities found.

Production build 0.71.5 2024