Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module restricts access to content based on its language. It ensures that users can only view content matching the current Drupal language or languages specifically configured in the admin settings. This is useful for multilingual sites where you want to control which language content is visible to different users or based on the domain they are accessing.

Content Language Access Module restricts the access of only contents with language (except neutral language) that are equal of the actual Drupal language being accessed or others that were previous configured in the admin page. It is not intended to be used for access control for administrative users.

This module helps when you have a content that needs to have access restriction by Drupal language.

Enable the Multilingual support on Content types:

Enabling this option will allow you to select the language when creating a content.

This module detects the content language based on the settings defined on Config -> Languages -> Detection and selection

Example

  Domains:
    www.example.com (EN_US)
    www.example.com.br (PT_BR)

  Contents:
    node/20 (EN_US)
    node/21 (PT_BR)
    node/22 (Language Neutral)

  Results:
    www.example.com/node/20 - response: 200 - OK
    www.example.com.br/node/20 - response: 403 - Access Denied

    www.example.com/node/21 - response: 403 - Access Denied
    www.example.com.br/node/21 - response: 200 - OK

    www.example.com/node/22 - response: 200 - OK
    www.example.com.br/node/22 - response: 200 - OK

Similar modules:
Check some modules that provide some others useful functionalities, similar to Content Language Access module:

  • Translation access: This module provides per-language access control for creating and updating nodes by adding a list of checkboxes for each available language to the user add/edit form
  • Language access: Restrict user access to locale languages using permission. Useful for sites where multilingual content has not been fully prepared yet.

Activity

Total releases
1
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
2.0.1 Stable May 13, 2025