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.
You could try SPContext.Current.Web.CurrentUser.RegionalSettings.LocaleID
Here is credit to the link that helped me; http://sharepoint.stackexchange.com/questions/9141/how-do-i-programatically-access-locale-in-my-custom-web-part
Thanks for the link.
But as I said; I need to make data-view webpart using sharepoint designer. I have already made several custom web-parts using CultureInfo class in Visual Studio.
If you want me to use the code in ECMAScript, please if you could explain me in short how to use that, will be very useful. I have never did that before.