Two resource file for one single culture

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I want to know whether it is possible to have two sets of resource file one
single culture in ASP.net 2.0. I have a project in which there are two
clients from Germany. I want to share the common code base between these two
clients. I need to keep two separate resource files that will contain
separate data for both the german client. Any idea how this can be done?

thanks
pradeep_tp
 
How about having a single resource file, but defining 2 sets of TAGs
within your resource file?
The naming of TAG can b prefixed with Customer name, for example

<C1-FirstName></C1-FirstName>
<C1-LastName></C1-LastName>

<C2-FirstName></C2-FirstName>
<C2-LastName></C2-LastName>

In your web.config file, define a item <customer> node where you can
set/define the value as "C1" or "C2", and then in your code you display
required node value by prepending the customer+<TAG?

Thanks helps?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top