asp.net localization using .resx files

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2007
Posts: 5
Reputation: sajithkahawatta is an unknown quantity at this point 
Solved Threads: 0
sajithkahawatta sajithkahawatta is offline Offline
Newbie Poster

asp.net localization using .resx files

 
0
  #1
Dec 18th, 2008
we are developing a web site which must support multi languages. so we
use .resx files. the user must be able to edit the content of the
resource file after the deployment.
we could not be able to put .resx files in to App_GlobalResources,
the .resx files are compiled to dll's when we publish the site since
the site is vs 2005 web site. so we keep the resx files in the root.
but how can we load the .resx files which are not compiled to dll's in
to resource manager.
we are using,

ResourceManager rm = new ResourceManager("my.Resource",
Assembly.GetExecutingAssembly());
rm.GetString("LblPathTitleStart");

here my is the project name and the file name is "Resource.resx" which
is in the root. we follow the article,
"http://www.ondotnet.com/pub/a/dotnet/2002/09/30/manager.html".

the error massage is,
"Could not find any resources appropriate for the specified culture or
the neutral culture. Make sure "Resource.resources" was correctly
embedded or linked into assembly "App_Web_a61pd5xi" at compile time,
or that all the satellite assemblies required are loadable and fully
signed.
"

any one can help us.

thanx.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC