Issue Bug Closed

#107890FileSizeValidator.php has hardcoded english file size units

Jakub Zgirski 10/28/25, 14:56 updated 12/02/25, 12:04

Description

vendor/typo3/cms-extbase/Classes/Validation/Validator/FileSizeValidator.php:72
Github: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/extbase/Classes/Validation/Validator/FileSizeValidator.php#L72

Even if I overwrite the language files with my own, the file size in the validator will always be in English. I wouldn’t want to propose a solution to this problem because I’ve already managed to have an argument with a colleague at work…

Reviews 2