Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am making data-view which gets data from a list (having different language columns).

My problem is I want to get the current user locale in XSLT and then display data from appropriate language column by comparing the LCID's.

Like if the LCID is 1033 display English conlumn in data-view.

Kindly suggest a way if anyone knows.

share|improve this question
add comment

1 Answer 1

SPContext.Current.Web.Locale

Or System.Threading.Thread.CurrentThread.CurrentCulture

Or Request.UserLanguages

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.