[BUGFIX] Sort and limit available locales in SiteLanguage selection
When showing the available locales in the SiteLanguage configuration, the selection is now sorted and also filtered, by only showing "de_DE" and skipping locales with modifiers, such as "de_DE.UTF-8" or "de_DE.ISO8859-1" in order to make life easier for integrators. Resolves: #99923 Related: #93651 Releases: main, 11.5 Change-Id: I03b38bb19207615e82a7f7917037aad0ac26b997 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77815 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Configuration/TCA/UserFunctions.php 14 additions, 1 deletion...ysext/backend/Classes/Configuration/TCA/UserFunctions.php
- typo3/sysext/core/Classes/Localization/Locale.php 19 additions, 4 deletionstypo3/sysext/core/Classes/Localization/Locale.php
- typo3/sysext/core/Tests/Unit/Localization/LocaleTest.php 16 additions, 0 deletionstypo3/sysext/core/Tests/Unit/Localization/LocaleTest.php
Please register or sign in to comment