vaadin-upload: Change upload button caption

Hi all,

Is there anyway to change the caption of the upload button from “UPLOAD FILES” to whatever is required?

Thanks a lot in advance


There’s a i18n property for vaadin-upload. You can modify the and i18n.addFiles.many to change the button’s text. You can find an example in here:

Thanks Sami. I actually solved the problem by setting programatically a property value of that i18n object when having the component initialized. For me, it only worked getting the element from the dom, and setting it manually.