ASP.NET文件上传 - 如何更改&QUOT的语言;浏览..."按钮说明? [英] ASP.NET FileUpload - How to change the language of the "Browse..." button description?

查看:120
本文介绍了ASP.NET文件上传 - 如何更改&QUOT的语言;浏览..."按钮说明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道非常类似的问题已经张贴在这里(http://stackoverflow.com/questions/94316/how-to-change-the-text-of-the-browse-button-in-the-fileupload-control-system-web)我知道这是不可能改变的描述一些自定义文本,而不是它至少可以将其更改为不同的语言(如英语)?

I know the very similar question was posted here already (http://stackoverflow.com/questions/94316/how-to-change-the-text-of-the-browse-button-in-the-fileupload-control-system-web) and I understand it's not possible to change the description to some custom text, but isn't it at least possible to change it to a different language (e.g. to English)?

我想做到这一点,使我的网页是在整个一种语言(比如,因为Procházet......而不是浏览...的英文网页的中间看起来有点怪我)。

I'd like to do it so that my web page is whole in one language (because e.g. "Procházet..." instead of "Browse..." in the middle of English web page looks kind of weird to me).

推荐答案

这是在浏览器的级别确定的,除非你搬到有点像的基于闪存的上传(或< 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.

这篇关于ASP.NET文件上传 - 如何更改&QUOT的语言;浏览...&QUOT;按钮说明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆