.net 2.0 - Asp.net Mvc 2.0 RC Setting Thread CurrentCulture/Ui -
I was pulling my hair all day.
I can not seem to do anything other than English to set existing thread culture culture or culture in the controller I have
protected override zero initialize (System .Web.Routing.RequestContext requestContext) {base.Initialize (requestContext); CultureInfo CultureInfo = CultureInfoGetCalcherInfo ("FR-FR"); Thread Present. culture; Culture = culture; Thread Existing content Current uk agriculture = cultureinfo; }
I have
Thread looks fine, but watch as soon as there is something back in English !!
I know its RC, is it broken or am I missing something ??
Cheers
Johnny
Set language later I use a filter which goes before the action (OnActionExecuting).
My first shot on this will be set in action.
Comments
Post a Comment