问题
I'm using the Extension Library File Upload control in a localized application. As you can see in the screen shot, most elements are "automagically" localized, but the File Upload control is not. It seems the download control has properties to override the names for "Created on" and such, which is perfect, I can localize those, but the "Browse" button on the upload control doesn't seem to have any property to change what is displayed. Any way I can override that?
回答1:
There is no way. It's a browser limitation but hacking is possible...
I found this very useful:
http://www.quirksmode.org/dom/inputfile.html
There is a similar question with alternative ideas:
Labeling file upload button
来源:https://stackoverflow.com/questions/20802951/the-file-upload-control-from-the-extension-library-doesnt-seem-to-localize-whe