I am using XSLT (xml version='1.0') in Visual Studio ASP.NET 4.0.
I am using a product that is available in multiple languages, but I cannot get nsxsl:format-date to respect the current language. For example, if I have set the current culture to French, and I write:
<xsl:value-of select="msxsl:format-date('31/05/2013', 'dd-MMM-yyyy')"/>
I would expect it output something like "31-Mai-2013".
Unfortunately, the 'month' portion is not translated. It always returns the english version ('May').
The MSDN documentation suggests adding a 3rd optional parameter (locale) to specify the culture, but it doesn't say what the default behaviour is if you omit the 'locale' parameter.
So, if the 'locale' parameter is omitted, where does format-date() use as it's default locale? And how can I change this default behaviour?
Thanks for any help you can offer!