#88517Localization in Middleware
Description
A Middleware has been configured to be processed after ‘typo3/cms-frontend/prepare-tsfe-rendering’.
When fetching a translation in the process method with
$GLOBALS['LANG']->sL('LLL:EXT:myext/Resources/Private/Language/locallang.xlf:item');
the English version is returned even though the default language is German. When using a TYPO3\CMS\Fluid\View\StandaloneView the labels from the template get translated correctly.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.