![]() |
|
|
|
|
1
4th April 10:16
External User
Posts: 1
|
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 |
|
|
|