Issue Task Closed

#107790Utilize language domain mapping in Modules.php

Lina Wolf 10/20/25, 11:00 updated 12/02/25, 12:04

Description

With #93334 I would expect the following notations to work, however none of them works:

return [
    'blog_example' => [
        'labels' => 'LLL:blog_example.module.mod',
        /// 'labels' => 'blog_example.module.mod',
        'extensionName' => 'BlogExample',
        ...
    ],
];

However none of these notations works, only using the complete path works

Reviews 5

History 816

  1. Lina Wolf commented <span data-processor="relativetime" data-value="2025-10-20T11:02:04+00:00" > 10/20/25, 11:02 </span>

    Only the following works:

    'labels' => 'LLL:EXT:blog_example/Resources/Private/Language/Module/locallang_mod.xlf',
  2. Georg Ringer commented <span data-processor="relativetime" data-value="2025-10-20T11:21:38+00:00" > 10/20/25, 11:21 </span>

    this references currently a language file with magic keys and should be transformed into label + description or so.

    I don’t expect a mapping to language files there via the new features

  3. Lina Wolf commented <span data-processor="relativetime" data-value="2025-10-20T11:38:15+00:00" > 10/20/25, 11:38 </span>

    When Updating the blog_example I was expecting that all occurences of LLL:EXT:blog_example/Resources/Private/Language/Module/locallang_mod.xlf could be replaced. However I would agree that being able to use any language string for title and description, following practices from, for example TCA would even be better

  4. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-11-11T17:40:08+00:00" > 11/11/25, 17:40 </span>

    Applied in changeset commit:5da5e001bd7097bdfeb47a57ace87d8d0a5337b6.