Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Content Language Access

Security covered Maintenance fixes only 1,090 sites

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.
Drupal 9–11

Ask your assistant about Content Language Access

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • language Drupal core
  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Sep 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 9–11 May 13, 2025
2.0.0-beta1 Pre-release 9–10 Sep 6, 2023
2.x-dev Dev 9–11 Sep 5, 2023