---
title: "Feature: #87380 - Introduce SiteLanguageAwareInterface to denote site language awareness"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-87380"
source: "Changelog/9.5.x/Feature-87380-IntroduceSiteLanguageAwareInterfaceToDenoteSiteLanguageAwareness.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Feature: #87380 - Introduce SiteLanguageAwareInterface to denote site language awareness

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

## Description

A `SiteLanguageAwareInterface` with the methods `setSiteLanguage(EntitySiteLanguage $siteLanguage)`
and `getSiteLanguage()` has been introduced. The interface can be used to denote a class as aware of
the site language.

## Impact

Routing aspects respecting the site language are now using the `SiteLanguageAwareInterface` in addition
to the `SiteLanguageAwareTrait`. The `AspectFactory` check has been adjusted to check for the interface
\_or\_ the trait. If you are currently using the trait, you should implement the interface as well.
