views:

903

answers:

2

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

 <input type="file" .../>
+5  A: 

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

Seb
i like your answer because it means i dont have to do anything =) but the solution below you looks like it would work
mkoryak
It seems so! :) Using JavaScript could do the trick, but be wary that won't work for users with JS disabled and you'll end up with different layouts. On top of that, you would see a layout first (the typical button) and, after a small delay, the change through JS.
Seb
+2  A: 

It is normally provided by the browser and hard to change, so the only way around it will be a CSS/JavaScript hack,

See the following links for some approaches:

ChristopheD