Support Domain Language Access

Created on 9 August 2023, over 1 year ago
Updated 8 July 2024, 5 months ago

Problem/Motivation

When setting new active domain, the list of languages overridden by the Domain Language Access module remains cached, and therefore potentially wrong languages are used for building a variant.

Steps to reproduce

Proposed resolution

We should reset the list of available languages after updating active domain.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇾Cyprus alex.bukach

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

Comments & Activities

  • Issue created by @alex.bukach
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇨🇾Cyprus alex.bukach

    This patch requires also a patch 🐛 Update overrider context every time Needs review for the Domain Language Access module itself.

  • 🇳🇱Netherlands jeroen dost

    Hi Alex,

    I have a rewrite for version 3.0.0-beta1.
    It did not work correctly when I removed the mentioned patch. That other patch results in drush not working anymore.

  • 🇳🇱Netherlands jeroen dost

    I completely rewritten the patch. The correct languages for the domains were not used. Instead all translations were loaded. Now I reset the language property to match the languages for the domain (and reset it at the end of the generate method).

Production build 0.71.5 2024