locked
Master Page Localization is not working RRS feed

  • Question

  • User-1356915459 posted

    Hi,

    I want to make my web site language independent. I am using Master page with DropDown list box for language change and other controls(Label and some Link buttons are available). when I am changing Language using drop down I am storing it into DB and Refreshing complete page.

    Problem I am facing is My content pages are properly reading string from correct resource file but My master page is not reading correct resource file i.e. it always reading string from defualt resource file(en-US).

    Wanted to know on which event I have to change 

     Thread.CurrentThread.CurrentUICulture and 

    Thread.CurrentThread.CurrentCulture

    so that my master page will also get local string from correct resource file. I have tried Page Init, PreRender and Load but it is not working.

    Please Suggest what  am I missing.

    Monday, July 26, 2010 8:41 AM

Answers

All replies

  • User1884510979 posted

    See the solution here..

    http://forums.asp.net/p/1085915/1616593.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 26, 2010 11:16 AM
  • User-1200560727 posted

    Go through my below post:

    http://forums.asp.net/t/1526291.aspx

    I hope it will helpful to you.

    Monday, July 26, 2010 11:53 PM
  • User-1802908944 posted

    have a look


    http://msdn.microsoft.com/en-us/magazine/cc163566.aspx

    http://aspalliance.com/821

    http://helios.ca/2008/08/31/cnet-localization-with-masterpage/


    Monday, July 26, 2010 11:57 PM