且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET文件上传 - 如何更改&QUOT的语言;浏览..."按钮说明?

更新时间:2023-02-17 08:59:19

这是在浏览器的级别确定的,除非你搬到有点像的基于闪存的上传(或< IFRAME> 挂羊头卖狗肉),你不能自定义它。任何一种语言/本地化用户的浏览器中(一般的基础上,OS设置),这就是他们会得到浏览...按钮的语言。

This is determined at the browser level, unless you moved to something like a flash-based uploader (or <iframe> trickery), you can't customize it. Whatever language/localization the user's browser is in (usually based on the OS setting), that's the language they'll get on the "Browse..." button.

如果你的网页是对消费者可能已经在该语言,那么你所有的设置,默认的行为作品。如果人们用另一种语言设置得的,嗯......这是他们选择的语言,所以它应该是一个直观的按钮标签,即使它不匹配。

If your page is for consumers likely already in that language, then you're all set, the default behavior works. If people with another language setting come by, well...that's the language they picked, so it should be an intuitive button label, even if it doesn't match.