开发者

Localization and Globalization in asp.net

How do I get the current language of user in 开发者_运维百科asp.net


Use CultureInfo.CurrentUICulture:

var currentCulture = CultureInfo.CurrentUICulture;

Which:

Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜