R
ryano
Hi All,
I have a web project which references many other projects for data
access layers, business logic etc and I'd like to define a central
location for resources. At present I'm using the built-in localisation
facilities with web pages which restricts the location of those
resources to the web project only, for example;
<asp:Label Text="<%$ Resources:Language, BUTTONTEXTPHRASE %>" ID="xxx"
runat="server" />
and the Resources namespace in code behind page. These are not
available to other projects in the solution and I'd like to keep all
localisation in the same place so that we can ensure error messages
from the data access layer etc get translated too.
I can create another project and store resources in it, but is there a
way to hook/link that project in as a replacement for the native
asp.net resource manager so that the above declaritive markup still
works without modification?
Your thoughts appreciated,
Ryan
I have a web project which references many other projects for data
access layers, business logic etc and I'd like to define a central
location for resources. At present I'm using the built-in localisation
facilities with web pages which restricts the location of those
resources to the web project only, for example;
<asp:Label Text="<%$ Resources:Language, BUTTONTEXTPHRASE %>" ID="xxx"
runat="server" />
and the Resources namespace in code behind page. These are not
available to other projects in the solution and I'd like to keep all
localisation in the same place so that we can ensure error messages
from the data access layer etc get translated too.
I can create another project and store resources in it, but is there a
way to hook/link that project in as a replacement for the native
asp.net resource manager so that the above declaritive markup still
works without modification?
Your thoughts appreciated,
Ryan