A have a simple custom form type how add (with the FormBuilderInterface) a upload field of type FileType.
When i try to upload a file greater than the php upload_max_filesize
. I got this default message :
My purpose is to translate it. It seems I need to pass a translator to the FileType but I don't know how to do it.