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

History 35

  1. Torben Hansen commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-10-31T17:10:09+00:00" > 10/31/25, 17:10 </span>

    Applied in changeset commit:bee41750afc22031fd7e59bc8a44f30d42bf8a50.