从Web浏览器更改ie语言 [英] Changing ie language from web browser

查看:102
本文介绍了从Web浏览器更改ie语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要在加载表单时将IE语言更改为用户。

这个任务经验丰富,我想要几个月来完成这个但没有成功。如果可能,我应该使用activex或者什么!! ???

这是非常重要和紧急....

提前感谢您的任何指示或建议.. ..

解决方案

你是什么意思在用户加载表格时将IE语言改为用户???


< blockquote>这是任务。

我正在使用Project Server,需要实现一种不属于服务器语言包的语言。所以我尝试将现有的资源文件翻译成x语言,它运行正常。

但问题是项目服务器检查客户端本地语言,它使用不同的资源文件,基于客户端IE语言。

所以我需要为项目添加一个控件服务器,并让用户选择他们的语言,并更改他们的本地IE语言。

我希望我回答


没有客户端IE语言这样的东西;。无论如何,听起来你想让用户选择一种语言。为什么不提供可用语言的DropDownList并将Thread.CurrentThread.CurrentUICulture和Thread.CurrentThread.CurrentCulture设置为用户选择的culture/语言?您必须在ASP.NET InitializeCulture事件中设置它。


Hi everyone,
I need to change a IE language to users when they load the form.
Is enyone experienced with this task, I am trying for months to acomplish this but without success. If possible should I use activex or what !!???
IT IS VERY IMPORTANT AND URGENT....
Thank you in advance for any instruction or advise....

解决方案

What do you mean by "change an IE language to users when they load the form"???


This is the task.
I am using Project Server and need to implement a language that is not part of server language pack. So I tried to translate an existing resource file to x language and it works fine.
But the thing is that project server check for client local language and it uses different resource files, based on client IE language.
So I need to add a controll to project server, and let users select their language, and change their local IE language.
I hope I answered


There is no such thing as "client IE language". Anyways it sounds like you want let the user chose a language. Why don''t you just provide a DropDownList of the available languages and set the Thread.CurrentThread.CurrentUICulture and the Thread.CurrentThread.CurrentCulture to the "culture"/language that the user has selected? You''ll have to set this in your ASP.NET InitializeCulture event.


这篇关于从Web浏览器更改ie语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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