Deprecation: #88559 - $TSFE->sys_language_isocode

See Issue #88559


The public property TypoScriptFrontendController->sys_language_isocode has set the equivalent of SiteLanguage->getTwoLetterIsoCode() since the introduction of Site Handling in TYPO3 v9.

As all code should switch to Site Handling, this property can be accessed via the current site language as well, making this property obsolete.

The property has been deprecated.


Setting or fetching this property will trigger a PHP deprecation warning.

Affected Installations

Any TYPO3 installation with a third party extension accessing this property, or via TypoScript getData() TSFE:sys_language_isocode .


Access the property via SiteLanguage->getTwoLetterIsoCode() and sitelanguage:twoLetterIsoCode instead.