Brent, I found that resource manager was too static for my websites needs because it is hard to change a compiled DLL on the fly when you need to add or update something. There are a couple ways to do this and still retain the fuctionality of updating a website
with out recomiling it. For large paragraphs you may want to create mirrored XML files such as if you are working with AddPost.aspx you will have AddPost.en.xml that will contain all data for the AddPost page that is enlish. For buttons I recommend you use
the same method and add the button names along with the paragraphs, or create a resource manager because button names won't change that much and they can be used across the application. Another way is to use a database in a simular method as described above.
You have a field for "page name", "language", "text name", and "text". Both of the last two methods will however require you to make a custom handler so that you pages can easily access the data. Another way which I haven't tried is a DLL called esperantus
or something like that created by the RainbowPortal group that inherits all webcontrols so that you don't have to do anything besides setting a custom ID for the control and filling in the data in a data base or resource file.
nberardi
Star
11233 Points
2352 Posts
Re: Using the Resource Manager for Bi-Lingual site ...
Jan 02, 2004 12:20 PM|LINK