locked
Please provide me an simple example of Localization in ASP.net 2.0 beta 2 RRS feed

  • Question

  • User-650203765 posted

    I am creating a web site in both English and French, en-CA and fr-CA. Anybody please provide me an simple example of Localization in ASP.net 2.0 beta 2, how to use Global Resource.

    Thank you so much!

    Friday, December 2, 2005 2:50 PM

All replies

  • User1169324036 posted
    eric, Please take a look at the following Link. http://dotnetjunkies.com/WebLog/anoras/archive/2005/02/13/54271.aspx
    Friday, December 2, 2005 9:21 PM
  • User-650203765 posted

    What I need is much simpler, that I click a button then the label change to other language.

    I put some resource files in GlobalResource folder,

    e.g. myResource.en-CA.resx, myResource.fr-CA.resx.

    There is a link button to trigger an event to switch between English and French to some labels.

    Any Sample code??? Thanks a lot!

     

    Friday, December 2, 2005 9:52 PM
  • User-629491943 posted

    Hi -

    Have you tried checking out the localization Walkthrough in Visual Studio 2005.  If you bring up the help in Visual Studio, filter the index by:  Web Development (.NET), and then look for:  'walkthroughs'; you should see an entry for localization.  The title is "Walkthrough:  Using Resources for Localization with ASP.NET". 

    HTH,
    Nichole

    Wednesday, December 7, 2005 8:25 PM