Skip to content
Snippets Groups Projects
Commit 553c43b6 authored by Benni Mack's avatar Benni Mack Committed by Anja Leichsenring
Browse files

[BUGFIX] Avoid logging of invalid locales in site configuration

TYPO3's log is mostly covered with "Locale fr_FR.UTF-8 not found",
which can be simplified, if setlocale() is not working properly.
The POSIX Platform suffix "UTF-8" is then removed, and setlocale()
is called again with "fr_FR" instead of "fr_FR.UTF-8" thus avoiding
log flooding in some systems.

Resolves: #99591
Releases: main, 11.5, 10.4
Change-Id: I4609d453c29a306d448bcdc3277b51a344af28ae
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77435


Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 317cb7c6
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment