Override Culture for a few strings ?

Hi there,

Still a happy user.

I was wondering if I can override the language used for a short period of time. The use case scenario is:

I would like to create a user in my system. I speak Danish and therefore I use the Danish UI in my ASP.NET application. But I know my user doesn't speak danish, so I want the code to generate the welcome mail in his locale and not my - even though I'm the user logged in when pressing the button.

It would be very sweet to be able to override the culture with something like:

ml.ml_override_culture_start(uiculture);

mail.subject = ml.ml_string(1, "Welcome");
mail.body = ml.ml_string(2, "Hello World");

ml.ml_temp_override_culture_end();


OR maybe just...

mail.subject = ml.ml_string(1, "Welcome", uiculture); mail.body = ml.ml_string(2, "Hello World", uiculture);


OR maybe... you know a way to override the uiculture "on the fly" in a asp.NET application like the first approach - just through regular .NET method calls?

So what I think I might be able to do, is to make some server transfers.. changing the culture on init, send the mail and server transfer back again to init my own culture again. But I really rather not do it like this..

Hope you got a simple solution and I'm just over complicating something that's really easy :-)

Yours Faithfully
Nick Niebling