I know this is late, but did you try placing this in the global.asax.cs and maybe setting a session? I believe you have access to the session in XSLT via the umbraco library. If I remember right, you could put this in the ApplicationBegin_Request method of the .asax.cs. I'm kind of shooting from the hip here, but that's where I'd start.
get culture info
Hello i found the following script to get the culture info from the browser properties
If i try to use it in XSLT i get the following error:
Extension function parameters or return values which have Clr type 'RegionInfo' are not supported.
Can someone please help?
I just want to get the language and use it in XSLT
I know this is late, but did you try placing this in the global.asax.cs and maybe setting a session? I believe you have access to the session in XSLT via the umbraco library. If I remember right, you could put this in the ApplicationBegin_Request method of the .asax.cs. I'm kind of shooting from the hip here, but that's where I'd start.
HTH.
Sean
is working on a reply...