Datatrans Interface (Redirect) is in the default language instead of Drupal current language

Created on 25 January 2019, almost 6 years ago
Updated 26 September 2023, about 1 year ago

Problem/Motivation

When we finalize our checkout, we are redirected to Datatrans Gateway.
This Gateway is in the Default Language of Datatrans (configured in Datatrans), the previous (before redirect) Drupal current language is not used.

Proposed resolution

Add the language GET parameter to the Drupal\commerce_datatrans\PluginForm\DatatransForm & used the Drupal UI language (langcode) as value.

Completed tasks

  • Write a patch.

Remaining tasks

  • Review and commit.

User interface changes

The redirection will be i18n using the Drupal UI language if available.

API changes

None.

Feature request
Status

RTBC

Component

Code

Created by

🇨🇭Switzerland wengerk Lausanne

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