| | |
asp.net localization using .resx files
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2007
Posts: 5
Reputation:
Solved Threads: 0
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.
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.
![]() |
| Thread Tools | Search this Thread |
.net 2.0 ajax alltypeofvideos appliances application asp asp.net bc30451 beginner box browser button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose feedback fileuploader fill findcontrol flash form formatdecimal formview gridview gudi iis javascript listbox login microsoft mouse mssql news novell numerical opera panelmasterpagebuttoncontrols parent problem radio redirect registration relationaldatabases reportemail save schoolproject search security select sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers





