Set a Culture to an Assembly

  • Thread starter Thread starter Rudolf Ball
  • Start date Start date
R

Rudolf Ball

Hi NG,

I am loading an Assembly

a = Assembly.LoadFrom(sample.dll);

into my project. When I create an instance of that assembly, I want to set
the thread to a specific culture, eg. de-AT.

Please, has anybody an idea how I can do this?

Thank you very much,

Rudi
 
Hi Rudolf,

Your question seems little bit unclear. Do you mean the Thread's
CurrentUICulture property does not work for you?
 
Hi,

I load an assembly A from somewhere (my Plugin), and say .CreateInstance.
Now I have my new Plugin. But I want to start that plugin not with the
default-language. I want it to start eg. with "es-ES". Now my question:

How can I set the culture when all I have is the instance of an assembly?


Dmitriy Lapshin said:
Hi Rudolf,

Your question seems little bit unclear. Do you mean the Thread's
CurrentUICulture property does not work for you?

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Unit Testing and Integration Environment
http://x-unity.miik.com.ua
Deliver reliable .NET software

Rudolf Ball said:
Hi NG,

I am loading an Assembly

a = Assembly.LoadFrom(sample.dll);

into my project. When I create an instance of that assembly, I want to set
the thread to a specific culture, eg. de-AT.

Please, has anybody an idea how I can do this?

Thank you very much,

Rudi
 
Back
Top