Deprecation: #94165 - sys_language table

See Issue #94165

Description

Since the introduction of site handling back in TYPO3 v9, available languages and their associated information, e.g. locale, ISO code or the navigation title are configured in the site configurations. As a consequence, the sys_language table just duplicated this information and is therefore now deprecated.

The Core internally does not longer rely on this table but fetches necessary information from the site languages instead. This means, there won’t be any relation to the :sql:``sys_language` table, which allows to define any kind of “ID” for the languageField field of records, which is usually sys_language_uid.

Impact

Currently there is no direct impact. However, if your code relies on TYPO3 processing sys_language, you might have to adapt those places to use site languages instead.

Affected Installations

All installations which rely on TYPO3 processing the sys_language table. For example for fetching available languages and their related information.

Migration

Adapt your code to always use site languages for fetching and processing language related information.

For example, use the new TCA type language, introduced in Issue #57082, instead of foreign_table => sys_language for selecting a records’ language.