---
title: "Deprecation: #85164 - Language related methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-85164"
source: "Changelog/9.4/Deprecation-85164-LanguageRelatedMethods.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #85164 - Language related methods

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

## Description

Various methods related to site language handling have been marked as deprecated:

-   `TYPO3\CMS\Info\Controller\TranslationStatusController->getSystemLanguages()`
-   `TYPO3\CMS\Backend\View\PageLayoutView->languageFlag()`

These properties have been marked as deprecated:

-   `TYPO3\CMS\Backend\View\PageLayoutView->languageIconTitles`
-   `TYPO3\CMS\Backend\View\PageLayoutView->translateTools`

## Impact

Calling one of the above methods will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations

Instances with extensions calling one of the methods mentioned above.

## Migration

Above calls can often be substituted using the `Site` object that is always
initialized during core bootstrap. In backend HTTP use cases, the object can be retrieved
using code like this:

```php
$currentSite = $request->getAttribute('site');
$availableLanguages = $currentSite->getAvailableLanguages($this->getBackendUser(), false, $this->id);
```
