asp.net : share resx file ?

  • Thread starter Thread starter Steph
  • Start date Start date
S

Steph

hello,
i have a lot (big) of aspx files... and i want only one resx file for
share translation text...

if use "GetLocalResourceObject" for, manually, get a specific text, but
i want specify a global file name for automatic c# batch
(meta:resourcekey="mytext")
like : "SetLocalResourceObject("mytext.aspx");"

how do ?

thanks
 
Steph,

I would have a separate assembly that contains the resources and then
access that from your code (or better yet, make the wrappers that VS.NET
makes for the resource public, and just access through code like that).
 
Nicholas said:
Steph,

I would have a separate assembly that contains the resources and then
access that from your code (or better yet, make the wrappers that VS.NET
makes for the resource public, and just access through code like that).
yes but... i use "App_LocalResources"... it is the problem !
 

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