Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a ResourceManager, using resx files.

Status
Not open for further replies.

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

Code:
resmgr	= new ResourceManager("Company.project.Localization.Resource", GetType().Assembly );

Can anyone who's done this before see what I'm doing wrong?

thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top