Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > globalization
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 4th April 10:16
sfear
External User
 
Posts: 1
Default globalization



Hi everybody,

I'm trying to create an international website with ASP .NET 2

I'd like that users can choose their preferred language independently
from the browser language.

The MSDN example at: http://msdn2.microsoft.com/en-us/library/bz9tc508.aspx
permit that changing the Thread UICulture. But from me, it works only
on one page: loading another page .NET takes again the language from
windows.

I want that after the selection all the pages will be displayed with
the selected language.

working on: Thread.CurrentThread.CurrentUICulture = new
CultureInfo(selectedLanguage);
can I operate only on one page? (i don't know well as AppDomain and
threads work..)

In that case, I thought that an other solution could be to declare a
language attribute on the user profile and setting the current thread
culture at each page load.
Is this OK?
are there bettere solution?

thanks
Please help me!
Fabrizio
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666