HighTechTalks DotNet Forums  

globalization

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss globalization in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
sfear
 
Posts: n/a

Default globalization - 09-24-2007 , 07:32 AM






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 Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.