.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

Popular posts from this blog

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

php - What is the best way to get the URL of a 404'd file after redirect? -