Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

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.

Activity

Total releases
5
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.6 Stable Jun 11, 2026
1.0.5 Stable Jun 11, 2026
1.0.4 Stable Jun 8, 2026
1.0.2 Stable Jun 8, 2026
1.0.0 Stable Jun 8, 2026