---
title: "Deprecation: #88473 - TypoScriptFrontendController->settingLocale"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-88473"
source: "Changelog/10.0/Deprecation-88473-TypoScriptFrontendController-settingLocale.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #88473 - TypoScriptFrontendController->settingLocale

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

## Description

Due to Site Handling, setting the locale information (`setlocale`) can be handled
much earlier without any dependencies on the global `TSFE` object.

The functionality of the method `TypoScriptFrontendController->settingLocale()` has
been moved into `Locales::setSystemLocaleFromSiteLanguage()`. The former method
has been marked as deprecated.

## Impact

Calling `TypoScriptFrontendController->settingLocale()` will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations

Any TYPO3 installation with a third party extension booting up a custom Frontend system and
explicitly calling the method.

## Migration

Migrate the existing PHP code to `Locales::setSystemLocaleFromSiteLanguage()` or ensure
that the SiteResolver middleware for Frontend Requests is executed where the locale is now
set automatically.
