Labeling file upload button

Viewed 144398

How can I internationalize the button text of the file picker? For example, what this code presents to the user:

 <input type="file" .../>
7 Answers

You get your browser's language for your button. There's no way to change it programmatically.

much easier use it

<input type="button" id="loadFileXml" value="Custom Button Name"onclick="document.getElementById('file').click();" />
<input type="file" style="display:none;" id="file" name="file"/>
Related