File Upload widget and Localization

Posted by diana.long@deximius.ca on 15-Nov-2019 18:38

Hello, Has anyone used the MVC form file upload widget on a multi-language site?

It appears there is no "Labels & Messages" in the Admin backend to modify the "Choose file" button, nor the links associated with this widget (e.g. no file chosen, add another).

Are these fields hard-coded in the ResourcePackages folder?

Any help is appreciated.

All Replies

Posted by jread on 19-Nov-2019 19:49

Looks like the Resource for the FileField live in the FieldResources resources, the Title in Labels & Messages screen is "Form's field widgets resources".  There are labels for AddAnother, Remove and a couple more. 

After digging into it deeper it appears the HTML tag <input type="file" /> and its associated button/text are set by the browser and there is nothing specific in Sitefinity to change.  

There are some creative solutions out there how to change the text but they require JavaScript, custom styles, etc.

This thread is closed