Allow overriding all words and strings via settings.php, or show overridable status in the interface

Created on 21 February 2023, over 1 year ago

Problem/Motivation

In settings.php, there's a section about String overrides, which is great. For example:

$settings['locale_custom_strings_en'][''] = [
  'Home' => 'Frontpage',
  '@count min' => '@count minutes',
];

But some strings can't be overridden, such as "forum". Ideally, all strings and words in the interface should be overridable.

Currently, there isn't an easy way to check if a word or a string is overridable. Until all strings and words can be overridden, it would be awesome if it was possible to somehow easier discern between overridable strings, and those not, directly in the interface.

Steps to reproduce

Try to override some words or strings such as "Forum", and see that nothing happens.

Proposed resolution

  1. Allow all words and strings to be overridden.
  2. Until all strings and words can be overridden, add a feature which shows override status for words and strings directly in the interface, possibly using Devel?

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

10.1

Component
Language system 

Last updated about 23 hours ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇩🇰Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024