Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Overview

Creates a language negotiation based on a domains language settings.

Installation

Install via composer:
composer require "drupal/domain_language_negotiation:^3.0@alpha"

Dependencies

- Your site uses Domain Access module (domain)
- Your site uses Domain Language Access module (domain_language). From 3.0.0 this module has been integrated and is therefore no longer required as a dependency.

Example:

- You have a site with 2 languages enabled: English (EN) and Dutch (NL)
- You created 2 domains using the Domain Access module: Domain1 and Domain2
- You setup Domain1 to only have EN language enabled (using Domain Language Access module)
- You setup Domain2 to only have NL language enabled (using Domain Language Access module)

While you can setup available and default languages via the Domain Language Access module,
your site can still be in the wrong language (like Domain2 being in EN instead of NL) because currently there is no language detection method based on these domain language settings.

This module provides that for you.
To me this seemed to be the missing link to get domain_language working in Drupal 8.

Tested and created this module while using these versions of domain and domain_language at the time of writing:
domain: 1.x-dev
domain_language: 1.0-alpha2 (From 3.0.0 this module has been integrated and is therefore no longer required as a dependency.)

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
3.0.0-alpha7 Pre-release Jan 9, 2025
3.0.0-alpha6 Pre-release Jan 8, 2025