获取asp.net中用户系统(Client sytem)的区域和语言设置 [英] get Regional and language settings of user system(Client sytem)in asp.net

查看:87
本文介绍了获取asp.net中用户系统(Client sytem)的区域和语言设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我使用的是VS 2005,C#.net,ASP.NET。

我有一个网络应用程序。

如何在asp.net中获取用户系统(客户端系统)的区域和语言设置?



提前谢谢

Geroge

Hi Friends,
I am using VS 2005,C#.net,ASP.NET.
I have a web application.
How to get Regional and language settings of user system(Client sytem)in asp.net ?

Thanks in advance
Geroge

推荐答案

HTML标头提供 Accept-Language 字段。分析一下,从你支持的列表中选择第一种语言。
The HTML header provides a Accept-Language field. Analyse that, and take the first language from the list which you support.


推荐他们



HTTP:// weblogs.asp.net/emilstoichev/archive/2008/01/21/tip-how-to-get-the-client-culture-from-an-asp-net-app.aspx [ ^ ]

http://murshed.wordpress.com/2010/05/16/how-to-get-clients-languages-using-asp-net/ [< a href =http://murshed.wordpress.com/2010/05/16/how-to-get-clients-languages-using-asp-net/target =_ blanktitle =New Window> ^ ]

http://forums.asp.net/t/1052219 .aspx / 1 [ ^ ]
Refer them

http://weblogs.asp.net/emilstoichev/archive/2008/01/21/tip-how-to-get-the-client-culture-from-an-asp-net-app.aspx[^]
http://murshed.wordpress.com/2010/05/16/how-to-get-clients-languages-using-asp-net/[^]
http://forums.asp.net/t/1052219.aspx/1[^]


使用此链接



http:// stackoverflow .com / questions / 5763311 / asp-net-problem-with-regional-language-options-win2k3 [ ^ ]


这篇关于获取asp.net中用户系统(Client sytem)的区域和语言设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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