---
title: "Deprecation: #81217 - TSFE-related language methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-81217"
source: "Changelog/9.0/Deprecation-81217-TSFE-relatedLanguageMethods.rst"
typo3-version: "9.0"
typo3-major: 9
type: "deprecation"
issue: 81217
forge: "https://forge.typo3.org/issues/81217"
tags: ["Frontend", "PHP-API", "FullyScanned"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #81217 - TSFE-related language methods {#deprecation-81217}

See [forge#81217](https://forge.typo3.org/issues/81217)

## Description {#description}

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:

-   `readLLfile()`
-   `getLLL()`
-   `initLLvars()`

## Impact {#impact}

Calling any of the PHP methods above will trigger a deprecation warning.

## Affected Installations {#affected-installations}

Any TYPO3 installation calling custom frontend code with the methods above.

## Migration {#migration}

Use `TypoScriptFrontendController->sL()` for resolving language labels in the language
of the Frontend rendering engine as a replacement for `getLLL()`.

If you are not doing anything special on language initialization, the call to `initLLvars()`
can likely be dropped. If you need to influence language initialization yourself, you can use the
hooks `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['settingLanguage_preProcess']`
or `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['settingLanguage_postProcess']`.

For doing special logic, it is recommend to set up a custom instance of `LanguageService`
which holds all functionality directly.

For example you may then use `$languageService->includeLLFile(...);` instead of `readLLfile()`.
