2

I am using file browse control to upload file to server. HTML as below:

<input id="fileUpload"  type="file" class="" multiple="" required="" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />

It renders as follow in IE

enter image description here

And as below in Chrome: enter image description here

I want to change its language. e.g "Browse" to "feuilleter" and "No File Chosen" to "Aucun fichier choisi"

How we can do this.

user2739418
  • 1,623
  • 5
  • 29
  • 51
  • See this http://stackoverflow.com/questions/686905/labeling-file-upload-button – sjm Jun 23 '15 at 11:15
  • I did a short search and found this: http://stackoverflow.com/questions/1944267/how-to-change-the-button-text-of-input-type-file Try this. – Thomas Johansen Jun 23 '15 at 11:18
  • this also may helpful to you https://css-tricks.com/snippets/css/custom-file-input-styling-webkitblink/ – nithin Jun 23 '15 at 11:19

2 Answers2

2

If I understand, you want your browser to change its language to be in french. Mine is in french and <input id="fileUpload" type="file" class="" multiple="" required="" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />

gives me on Chrome enter image description here

And enter image description here on Firefox

Your problem is that your browsers are in english

Hearner
  • 2,711
  • 3
  • 17
  • 34
0

According to your browser language it will be updated , if you want to change it still ,you need to design your own layout using css.

Kar Reddy
  • 168
  • 1
  • 1
  • 12