Having problems setting CultureInfo

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.
 
C

Cindy Lee

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"/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top