Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Translatable config pages

372 sites Security covered Drupal 8–11
View on drupal.org

This module allows you to create customizable configuration pages that can be translated into multiple languages. You can add any field type to these pages, and the module integrates with Drupal's core translation system.

DESCRIPTION:

This module provides a content entity that allows you to create configuration pages rich in customisable features. It allows to use any type of field defined by both the drupal core and contributed modules (files, images, paragraphs, media....).

This module is based on config_pages but with full integration with the "content_translation" module of the drupal core. This way you get a complete translation system for these custom configuration pages.

INSTALLATION:

Install this module like any other module.

CREATING CONFIG PAGE:

  1. After module installed, you can navigate to "/admin/structure/translatable_config_pages_types" and click on "Add translatable config pages type".
  2. Enter config page title, the description and the parent menu.
  3. Now you can find your config page y add desired fields as you do for any other entity.
  4. After configuring all the fields, you must enable the feature to translate the new configuration. You can do this from this URL: /admin/config/regional/content-language

HOW CAN I ACCESS MY SETTINGS?

You can get your custom config page data by the manager service.

// Load the default config.
$config = \Drupal::service('translatable_config_pages.manager')->loadConfig('my_bundle');

// Or load a translation config.
$language = \Drupal::languageManager()->getLanguage('es');
$config = \Drupal::service('translatable_config_pages.manager')->loadConfig('my_bundle', $language);

// Or load all languages config.
$languages = \Drupal::languageManager()->getLanguages();
$configs = [];
foreach ($languages as $language) {
  $languageId = $language->getId();
  $configs[$languageId] = \Drupal::service('translatable_config_pages.manager')->loadConfig($languageId);
}

Depends on

Dependencies of the latest stable release

  • content_translation Drupal core
  • language Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Nov 2024
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.8 Stable 8–11 Jun 25, 2026
1.0.7 Stable 8–11 Apr 8, 2026
1.0.6 Stable 8–11 Jan 29, 2026
1.0.5 Stable 8–11 Jan 10, 2025
1.0.4 Stable 8–11 Nov 7, 2024