Issue Bug Closed

#111341[T3-13.4] Override translation via TS - only by composite lang code

Davide Alghi 11/04/26, 14:12 updated 11/04/26, 14:23

Description

\TYPO3\CMS\Extbase\Utility\LocalizationUtility fetches the overriding string, set in TS (_LOCAL_LANG), only by composite lang code (en-US, de-DE, it-IT, …), but not by generic language code (en, de, it, …)

translate() function gets the name of locale ($locale->getName()), ie the composite lang code

here

https://github.com/TYPO3/typo3/blob/9890db99925236844b915002160f62cbb411f7d4/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php#L77

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-11-04T14:23:59+00:00" > 11/04/26, 14:23 </span>

    hey!

    thanks for the issue. this issue has been fixed in 14.3 (probably in #108374) and won’t be backported to 13.4 anymore.

    therefore I am closing the issue, hope you understand. if you got questions, feel free to contact me e.g. via slack