locked
.resource .resx satellite assemblies..best approache.. RRS feed

  • Question

  • User797518472 posted

    Hi there,

     which one is the best way to design multilanguage website using .resources, .resx or satellite assemblies..

     I have got nearly 300 files (aspx,ascx) nearly 15 folders..Some files name Default.aspx each folder.

    How can i use satellite assemblies.

     

    Any appriciated ..

     

    thanks     

     

    Tuesday, July 10, 2007 6:43 AM

Answers

  • User1622957740 posted

    .resx and .resources is pretty much the same thing - .resources are just compiled .resx resources.

    If you're working with ASP.NET it might be easiest to use local and global resources which make it reasonably easy to create and find the stuff that needs to be localized especially if you have a fairly complex site with many pages and directories. Since Local resources are directory specific you end up with segmented resource files that are easy to find.

    Global Resources give you pretty much traditional 'satellite' resource asssembly behavior so you can use those for any application global messages etc.

    I've also had good luck creating and using a custom data drive resource provider which makes editing and managing resources much easier. There's a sample of it here (click on the red localization icons next to the fields).

    http://www.west-wind.com/presentations/wwhoverpanel/sample/ResourceProvider/CustomerList.aspx

    and the code (and presentation) can be found here:

    http://www.west-wind.com/weblog/posts/8746.aspx 

    Hope this helps,

    +++ Rick ---

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 10, 2007 9:41 PM