I've been trying to add support for localized error messages for my
errorProviders.
All the source code gives examples like this:
errorProvider1->SetError(eventDescription, "You must enter a description.");
However, that doesn't really cut it for localization.
I've eventually figured out that I want to add another resource file to my
project, named Errors.resx
There seems to be an implication that somehow this gets added to the
Resources namespace, so that I can just use the names directly, like this
quote
<quote>
Each .resx file in /Application_GlobalResources is translated to a
static class within the "Resources" namespace. So for example,
"Errors.resx" can be accessed using Resources.Errors.SomeErrorCode.
These classes exist in the web-application code space, so how can an
external class reference them without adding a reference?
</quote> from here:
http://www.velocityreviews.com/forum...libraries.html
I can't for the life of me figure out how to get this to work though.
Is there some magic property that must be set somewhere to get this to work?
Does the errors.resx have to live in a particular location?
Please help!
Tony