Rules page redirect should keep interface language

Created on 11 January 2024, 8 months ago

Problem/Motivation

When you make a redirection with rules, in my case for example a page redirection after a quiz attempt, it always redirects to the default language version of the site. Rules should use the language configured in the interface by users.

I even tried if there was a variable that I could select to force the language but the only variable that is there (@language.current_language_context:language_interface )does not show the language code but the full language name. So there is nothing that can be done to solve this via user interface.

Steps to reproduce

- Create a page redirection with rules
- Change interface language with laguage picker or visiting url with laguage code. (other than default language)
- Force redirection
- You will reach the default language version of the page and not the desired language version.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

3.0

Component

Rules Core

Created by

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

Comments & Activities

Production build 0.71.5 2024