Re: Input type File: "Browse" in other languages



On May 27, 2:40 am, "Roger Withnell"
<rogerREM...@xxxxxxxxxxxxxxxxxxxxx> wrote:
I am building a website in Russian.

What options do I have to make the "Browse" button display in other
languages?

Theoretically you can't. Input file control is a closed control with
the majority of properties locked for security considerations. The
only up-to-date known way is by using the "transparent control
overlapping" hack found on quirksmode.org
http://www.quirksmode.org/dom/inputfile.html
so you could place a custom button with the Russian label on it using
this hack. The hack requires extra browser sniffing for Safari (if you
care of this UA) because it has opposite order: "Browse" button on the
left, input box on the right.

.


Loading