Live Chat Icon For mobile
Live Chat Icon

How to detect the User’s culture

Platform: ASP.NET| Category: Basic

VB.NET


Dim sLang As String 
sLang = Request.UserLanguages(0) 
Response.Write(sLang)

C#


string sLang ;
sLang = Request.UserLanguages[0];
Response.Write (sLang);

Share with

Share on twitter
Share on facebook
Share on linkedin