Deprecation: #81217 - TSFE-related language methods¶
See Issue #81217
The main class for generating frontend output (TypoScriptFrontendController) has been streamlined to use the same API within LanguageService.
Therefore the following methods within TypoScriptFrontendController have been marked as deprecated:
Calling any of the PHP methods above will trigger a deprecation warning.
Any TYPO3 installation calling custom frontend code with the methods above.
TypoScriptFrontendController->sL() for resolving language labels in the language
of the Frontend rendering engine as a replacement for
If you are not doing anything special on language initialization, the call to
can likely be dropped. If you need to influence language initialization yourself, you can use the
For doing special logic, it is recommend to set up a custom instance of
which holds all functionality directly.
For example you may then use
$languageService->includeLLFile(...); instead of