Add internal path redirect support for multilingual sites

Created on 20 February 2023, over 1 year ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

When debugging πŸ› Redirects do not preserve language Fixed , it was clear the internal path redirects need updating to handle multilingual sites.

Steps to reproduce

See below for various scenarios.

Proposed resolution

Need to handle internal path redirects for all these situations:

  1. No language or translation modules, English default language
  2. Language module, no translation modules, only English
  3. Language module, no translation modules, English and another language, no path prefix
  4. Language module, no translation modules, English and another language, path prefix
  5. Language module, content translation module, English and another language, no path prefix
  6. Language module, content translation module, English and another language, path prefix

Use cases:

  1. Node without alias, one language
  2. Node with alias, one language
  3. Node without alias, two languages, no translation
  4. Node with alias, two languages, no translation
  5. Node without alias, two languages, translation
  6. Node with alias, two languages, translation, same alias
  7. Node with alias, two languages, translation, different alias

Remaining tasks

  1. Update code
  2. Review and test
  3. Commit :)

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Comments & Activities

Production build 0.71.5 2024