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

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.