Domain language detection and selection

🇺🇦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

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
  • Add at list one domain (if wasn't added yet)
  • 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
  • Add at list one domain (if wasn't added yet)
  • 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).

Supporting organizations: 

Project information

Releases