This project is not covered by Drupal’s security advisory policy.

Disable language lets you disable languages on Drupal 8 sites.

It does the following things when you disable a language:

  • Filters out the disabled languages in the language switcher
  • Filters out the generated links in an Simple XML sitemap (
  • Filters out the generated links in the head (with the hreflang attribute)
  • Redirects user that don't have permissions to view disabled languages


See the README for configuration instructions

Supporting organizations: 
Architecture and development

Project information