Disable Field Translations Config Settings

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

Purpose

This lightweight module (Drupal 9) depends on the Translation Management Tool (tmgmt) module and the Language module. It provides a easy way to sect up "Exclude from translations" for a field except for the Entity reference field.

User scenario

We have many content types and many custom fields. It is time-consuming to set up "Exclude from translations" for each field.
Therefore, I build this module to set up multiple fields in one place via the Config Form.

  • Go to the setting page: /admin/config/system/ul-no-translation-fields
  • copy and past the field machine name(s), such as "body, field_shared_review_comments" into the ConfigForm.
  • submit the form.
  • then, these two fields will be excluded from translations.

Drupal 8 and Drupal 9 compatible

// Install the module via composer.
composer require "drupal/ul_no_translation_fields"

Organization: UL Solutions

Project information

  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Multilingual
  • Created by gung wang on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases