Breaking: #60152 - GeneralUtility::formatSize is now locale aware

See forge#60152

Description

The GeneralUtility::formatSize() method now adheres to the currently set locale and selects the correct decimal separator symbol. This also applies to the TypoScript option stdWrap.bytes, which uses the method internally, as well as the Filelist content element type.

Impact

All output generated for locales, where the decimal separator is not a dot, will change to use the correct symbol. e.g. comma for German.

Affected installations

Any installation that uses the formatSize() method in one of the ways mentioned.

Migration

If you think you get the wrong decimal separator, ensure the locale is configured correctly and the locale really exists on the server.

TypoScript option: config.locale Commandline: locale -a