The File Upload control from the Extension Library doesn't seem to localize. Where can I change that?

淺唱寂寞╮ 提交于 2019-12-24 17:12:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!