Reputation: 9414
How do I get the current language of user in asp.net
Upvotes: 0
Views: 616
Reputation: 499272
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.
Upvotes: 1