R
Ramon Rocha
Dear friends,
How do I do to create a ResourceManager in global.asax?
I was tried:
Application("RM") = New ResourceManager("strings",
Server.MapPath("resources"), Nothing)
But return, on Server.MapPath: type string cannot be converted to
System.Reflection.Assembly
Because?
Another question:
I've created strings.pt-br.resx and strings.en-us.resx in
App_GlobalResources
<asp:label Id="label1" runat="server" text="<%$ Resources:strings, URLImages
%>">
return: The resource object with key 'URLImages' was not found
* but URLImages existis...
If I create strings.resx (strings defaults for pt-br), it's works! But use
only pt-br (I've tried change IE default language for en-us), i.e. defaults
on strings.resx. Because my application don't detect user language?
I'm sorry by my poor english
Thank You
RAMON ROCHA
from Brazil
How do I do to create a ResourceManager in global.asax?
I was tried:
Application("RM") = New ResourceManager("strings",
Server.MapPath("resources"), Nothing)
But return, on Server.MapPath: type string cannot be converted to
System.Reflection.Assembly
Because?
Another question:
I've created strings.pt-br.resx and strings.en-us.resx in
App_GlobalResources
<asp:label Id="label1" runat="server" text="<%$ Resources:strings, URLImages
%>">
return: The resource object with key 'URLImages' was not found
* but URLImages existis...
If I create strings.resx (strings defaults for pt-br), it's works! But use
only pt-br (I've tried change IE default language for en-us), i.e. defaults
on strings.resx. Because my application don't detect user language?
I'm sorry by my poor english
Thank You
RAMON ROCHA
from Brazil