[TASK] Initialize TSFE language at an earlier stage
The languageService and pageRenderer instantiate their language / locale information at a very late point, allowing to only use TSFE's language features when TypoScript was loaded. However, since TYPO3 v10, the SiteLanguage information is always present in an earlier stage, so the initialization can happen earlier. Resolves: #89575 Releases: master Change-Id: Id9dc8268946041353430cb02e12631b048364acf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62183 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 7 additions, 4 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php 56 additions, 0 deletions...ests/Unit/Controller/TypoScriptFrontendControllerTest.php
Please register or sign in to comment