Restrict list switch links for all language types

Created on 28 September 2022, about 3 years ago
Updated 18 July 2025, 3 months ago

Problem/Motivation

The module filters language switch links only for interface language. They should be filtered irrespective of language type (e.g. for content language as well) as otherwise not allowed language will be displayed for a domain.

Steps to reproduce

  1. On a multilingual multi-domain site restrict languages for a domain.
  2. Display language switcher block for content language.
  3. Visit a page in the domain with restricted languages.
  4. See all (even not allowed) languages are displayed in the language switcher block.

Proposed resolution

Filter languages for all language types.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

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

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