Domain Lang

Component ID

2763345

Component name

Domain Lang

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

4021

Component created

Component changed

Component body

Overview

Domain Lang extends Domain Access module and add ability setup Language detection and selection for every available sub-domain.

You can Enable, Disable, Setup, Re-order
(per every domain) :

  • Administration pages language setting.
  • Language from a specific request/session parameter.
  • Language from the URL (Path prefix or domain).
  • Following the user's language preference.
  • Language from the browser's language settings.
  • Setup site default language.

Configuration

Drupal 7 configuration :

  • Enable Domain Lang module
  • Go to available domains page: /admin/structure/domain
  • Click "edit domain" link
  • Click "Language Detect & Select" tab
  • Setup language detection and selection
  • Click "Save settings" button

Drupal 8 configuration :

  • Enable Domain Lang module
  • Go to available domains page: /admin/config/domain
  • In domain "Operations" dropdown click "Language Detection and Selection" link
  • Setup language detection and selection
  • Click "Save settings" button

Dependencies

Requires Domain Access module (with enabled Domain Configuration module).