I'm trying to submit a form through my RESTContour package and want the resulting XSLT translated e-mail to use dictionary items. However, since this the submit to Contour is done through the server (rather than through the client's browser), it can't detect the culture, so it uses the default culture.
Is there a way in which I can set the culture, in /base?
I've tried just executing below code as the first code in my /base class, but I think that it's too late:
var culture = new CultureInfo("nl-NL");
System.Threading.Thread.CurrentThread.CurrentCulture = System.Threading.Thread.CurrentThread.CurrentUICulture = culture;
Set culture manually somehow
So here's a tricky one..
I'm trying to submit a form through my RESTContour package and want the resulting XSLT translated e-mail to use dictionary items. However, since this the submit to Contour is done through the server (rather than through the client's browser), it can't detect the culture, so it uses the default culture.
Is there a way in which I can set the culture, in /base?
I've tried just executing below code as the first code in my /base class, but I think that it's too late:
Look out for umbraco's default.aspx (like I said in the forum topic I sent to you on Twitter). It is probably too late in the /base class...
I was being stupid and copied over the wrong .dll file.. D'OH!
So, never mind, disregard, all is well in Contour land! :-D
is working on a reply...