Having problems setting CultureInfo

  • Thread starter Thread starter Cindy Lee
  • Start date Start date
C

Cindy Lee

My browser always shows the en-US local resource file, even though I try to
set it to my french resource file:

(this is the first part of onPageload--)
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;

That code doesn't seem to work on my web app.

I want to be able to change the local resource file based on an argument
cominging in.
 
Changing the UIculture is fine, but chaging the culture messes up my ADOMD
connection. How should I change the culture setting in these assembly
tags?? en-US is fine, but fr-FR seems to mess up my connection string or
something. I can't seem to change culture in these tags, en-US doesn't work

<add assembly="System.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.AnalysisServices.AdomdClient,
Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
 
Back
Top