TYPO3 v15 dev-main snapshot ()
This commit is contained in:
+40
@@ -0,0 +1,40 @@
|
||||
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
.. _deprecation-73511:
|
||||
|
||||
================================================================
|
||||
Deprecation: #73511 - BrowserLanguage detection moved to Locales
|
||||
================================================================
|
||||
|
||||
See :issue:`73511`
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
The CharsetConverter contained the calculation to find the corrent language based on
|
||||
the browsers language settings at the backend login screen.
|
||||
|
||||
The according code has been moved to TYPO3\CMS\Localization\Locales. The method
|
||||
`CharsetConverter::getPreferredClientLanguage()` and the property `CharsetConverter::charSetArray` have
|
||||
been marked as deprecated.
|
||||
|
||||
|
||||
Impact
|
||||
======
|
||||
|
||||
Calling `CharsetConverter::getPreferredClientLanguage()` will trigger a deprecation log entry.
|
||||
|
||||
|
||||
Affected Installations
|
||||
======================
|
||||
|
||||
All installations with a third-party extension using the CharsetConverter language resolving directly.
|
||||
|
||||
|
||||
Migration
|
||||
=========
|
||||
|
||||
Use the method `Locales->getPreferredClientLanguage()` instead.
|
||||
|
||||
.. index:: PHP-API
|
||||
Reference in New Issue
Block a user