Forums

Translate Input type

sierra 14 Feb, 2013
Hi,

I have a form in two languages​​. The "file upload" button is always in Spanish. "examinar"

How I can translate this button to search for files?
<input type="file"/>


Thanks a lot
GreyHead 15 Feb, 2013
Hi sierra,

I'm not certain but I think that the File Upload button is created by your browser and so will be in the browser default language.

Bob
sierra 15 Feb, 2013
Thanks,
It seems to be difficult to solve
I found an example that in theory could work .... not me :?
Maybe someone exploits... lightbulb

<form name=frm>
<input name=archivo type=file style="display:none" >
<input name=destino >
<button style="color=red; font-family=sans-serif;"
onclick="frm.archivo.click();
if(frm.archivo.value != frm.destino.value)
frm.destino.value = frm.archivo.value">Upload Files</button>
</form>
This topic is locked and no more replies can be posted.