Garreth21
Programmer
- May 19, 2005
- 29
Hi
I'm developing a multi-lingual asp.net web site. I can create a resource manager, but when I use .getString() on it, it fails with this error message:
"Could not find any resources appropriate for the specified culture"
I've searched all over the place but haven't been able to solve my problem.
The resource files are named:
Resource.en-CA.resx
Resource.fr-CA.resx
my namespace is Company.project.Localization
I'm trying to create the resource manager like this
Can anyone who's done this before see what I'm doing wrong?
thanks
I'm developing a multi-lingual asp.net web site. I can create a resource manager, but when I use .getString() on it, it fails with this error message:
"Could not find any resources appropriate for the specified culture"
I've searched all over the place but haven't been able to solve my problem.
The resource files are named:
Resource.en-CA.resx
Resource.fr-CA.resx
my namespace is Company.project.Localization
I'm trying to create the resource manager like this
Code:
resmgr = new ResourceManager("Company.project.Localization.Resource", GetType().Assembly );
Can anyone who's done this before see what I'm doing wrong?
thanks