javascript - how to translate Browse or Choose File for form input type=file based on browser language change -


html form input type = file providing "browse" , "no file selected" in firefox , "choose file" , "no file chosen" in chrome choose file.

i have use case translate "browse" , "choose file" per browser language.

is possible without adding javascript library?

thanks in advance

native input elements depending on operating system , browser clients using. can workaround custom file picker (an input file hidden, layer triggers hidden input file, text like).

you can use refferences:

how style "input file" css3 / javascript?

http://markusslima.github.io/jquery-filestyle/

http://moro.es/projects/jquery-nicefileinput-js/

good luck!


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -