Consider using LanguageManager's API for managing config translations

Created on 10 July 2025, about 1 month ago

Problem/Motivation

In πŸ“Œ Provide tests Active , to be able to create a successful plugin test for \Drupal\babel\Plugin\Babel\TranslationType\Config, I used LanguageConfigOverrides (through language manager) to see the actual results of a translation update / addition.

This was not just much simpler, but I had to change the preexisting approach also because invalidating the corresponding caches and triggering the right events were also missed.

Scope of this task is to also change the approach inside ::getStrings and ::getString methods and rely on public LanguageManager methods instead of reading config storage directly.

Remaining tasks

TBD.

User interface changes

Nothing.

API changes

No API change expected inside or outside Babel.

Data model changes

Nothing.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary huzooka Hungary πŸ‡­πŸ‡ΊπŸ‡ͺπŸ‡Ί

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

Comments & Activities

Production build 0.71.5 2024