Deprecation: #99882 - Site language "typo3Language" setting¶
See forge#99882
Description¶
A language configuration defined for a site has had various settings, one of
them being typo3Language
. The setting is used to define the language key which
should be used for fetching the proper XLF file (such as de_
).
Since TYPO3 v12 it is unnecessary to set this property in the site configuration
and it is removed from the backend UI. The information is now automatically
derived from the locale
setting of the site configuration.
The previous value "default", which matched "en" as language key is now unnecessary as "default" is now a synonym for "en".
As a result, the amount of options in the user interface for integrators is reduced.
Impact¶
An administrator cannot select a value for the typo3Language
setting anymore
via the TYPO3 backend. If a custom value is required, the site configuration
needs to be manually edited and the typo3Language
setting needs to be added.
If this is the case, please file a bug report in order to give the TYPO3 development team feedback on what use case is required.
However, saving a site configuration via the TYPO3 backend will still
keep the typo3Language
setting so no values will be lost.
Affected installations¶
TYPO3 installations created before TYPO3 v12.3.
Migration¶
No migration is needed as the explicit option is still evaluated. It is however recommended to check if the setting is really necessary.
Examples:
- If
typo3Language: "default"
andlocale: "en_
, the setting can be removed.US. UTF- 8" - If
typo3Language: "pt_
andBR" locale: "pt_
, the setting can be removed.BR. UTF- 8" - If
typo3Language: "de"
andlocale: "de_
, the setting can be removed, plus the label files check forAT. UTF- 8" de_
andAT. locallang. xlf de.
as fallback when accessing a translated label.locallang. xlf - If
typo3Language: "pt_
andBR" locale: "de_
it is likely a misconfiguration in the setup, and should be analyzed if the custom value is really needed.DE. UTF- 8"