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.
精彩评论