Use TrustedRedirectResponse Error on Multilingual Setup

Created on 3 January 2016, almost 9 years ago
Updated 17 May 2023, over 1 year ago

I received the following error while setting up a multilingual website:

Here is the sequence to create this error:

  • Install new 8.0.1 website using English
  • Enable Language Translation and Language Modules
  • Allow Trusted Hosts: localhost, www.localhost & es.localhost in settings.php
  • Add Spanish language
  • Set Detection & selection > Domain to www for English and es for Spanish & Save Configuration

I've done this several times in beta.

As a side note. On the "Detection & selection" screen, the user is entering "sub-domains" not "Domains" as the screen says. In this example: , de is a sub-domain of example.com/. This screen should likely be changed.

🐛 Bug report
Status

Needs work

Version

10.1

Component
Routing 

Last updated 2 days ago

Created by

🇺🇸United States Greg Sims

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

  • Triaged core major

    There is consensus among core maintainers that this is a major issue. Only core committers should add this tag.

  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

Merge Requests

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