Issue Bug Closed

#109485LanguagePackService still reads ext_emconf.php while rest of core uses composer.json

Anton Danilov 04/03/26, 15:29 updated 04/21/26, 11:30

Description

The LanguagePackService still reads extension “state” property directly from the legacy ext_emconf.php file.
However, ext_emconf.php has been deprecated since TYPO3 v14.2 (Deprecation #108345). All other core components have already been migrated to read the package metadata from composer.json instead.
This means LanguagePackService is now the only remaining place in the core that still depends on ext_emconf.php for language pack operations.
Currently, the official deprecation does not specify a replacement for “state” property. A new convention like `extra.typo3/cms/state` could be proposed.

Reviews 2

History 712

  1. Helmut Hummel commented <span data-processor="relativetime" data-value="2026-04-03T17:06:24+00:00" > 04/03/26, 17:06 </span>

    Yes, good point. This needs a solution. Not sure how important the state is to be considered and how it is used in LanguagePackService

  2. Stefan Bürk commented <span data-processor="relativetime" data-value="2026-04-07T08:28:13+00:00" > 04/07/26, 08:28 </span>

    Helmut Hummel wrote in #note-2:
    > Yes, good point. This needs a solution. Not sure how important the state is to be considered and how it is used in LanguagePackService

    Not checked, but I question myself – what about ext_emconf.php -> category – extension manager/TER ? https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/FileStructure/ExtEmconf.html#confval-ext-emconf-category

    Is that some where used and needs adoption too ?

  3. Gerrit Code Review pushed patch set 1 for main to change 93611 status Accepted Under Review <span data-processor="relativetime" data-value="2026-04-10T07:16:30+00:00" > 04/10/26, 07:16 </span>

  4. Helmut Hummel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-04-15T07:50:10+00:00" > 04/15/26, 07:50 </span>

    Applied in changeset commit:e8f5cc742051d2c6670a406ffcbec93f04ee1f4e.