Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

This module allows you to force a specific interface language for administrative areas and node translation forms, without affecting the actual content's language. It also lets individual users choose their own preferred interface language for the admin area.

Forces a specific interface language layout (e.g., English or a custom user-defined preference) on designated administrative paths and node translation edit forms, while leaving underlying content dataset values entirely untouched.

Overview

Managing multilingual environments in Drupal often poses a distinct workflow issue for content editors and administrators. When working on a localized node edit path (such as /fr-ca/node/123/edit), Drupal's core routing architecture naturally translates the entire administrative interface layout, including the primary toolbar, sidebar settings blocks, buttons, and summary wrappers, into that translation's language.

The Admin Language t() function Override module resolves this by decorating Drupal's low-level string translation manager (string_translation). By targeting string rendering operations directly instead of disrupting routing stacks or the global language environment state, this extension enforces your desired translation language layout strictly on specified admin tools. Most importantly, it completely preserves the true content language context, ensuring your multilingual field datasets load, display, and save in their correct language.

Key Features

  • Safe Architecture Isolation: Decorates the string translation engine directly instead of the global Language Manager service. This keeps your configuration fields, paragraphs, and translation forms safe from accidental data conversion side effects.
  • Individual Account Preferences: Automatically appends an "Administration Language Preference" selection card onto user profile editing views (/user/{uid}/edit). This lets individual back-end administrators choose their own custom dashboard interface translation setting.
  • Granular Wildcard Overrides: Configure precisely which paths undergo interface string modification using a clean wildcard management textarea (e.g., /*/edit, /*/delete, /admin/*).
  • Smart Fallback Matching: Gracefully defaults layout text to English if an active path matches your structural wildcard criteria but the user has left their profile preference set to "Use site default language."
  • Clean Footprint: Zero heavy hook alterations or theme-layer requirements, keeping container bootstrap speeds exceptionally high.

Configuration & Usage

  1. Install and enable the extension like any standard Drupal module.
  2. Navigate to Configuration » Regional and language » Admin Language Override Settings (/admin/config/regional/admin-language-t-function-override).
  3. Turn on the master configuration switch and input your targeted layout path rules (one per line).
  4. (Optional) Instruct your translation team or site managers to visit their user profile configuration forms to choose an explicit interface language preference that suits their editing workflows.

Depends on

Dependencies of the latest stable release

  • language Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jun 2026
Latest release
6 days ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.8 Stable 10–11 Sep 6, 2026
1.0.6 Stable 10–11 Jun 11, 2026
1.0.5 Stable 10–11 Jun 11, 2026
1.0.4 Stable 10–11 Jun 8, 2026
1.0.2 Stable Jun 8, 2026
1.0.0 Stable Jun 8, 2026