Last post Jun 05, 2008 03:52 AM by ReyN
Mar 13, 2008 10:21 AM|bcanonica|LINK
I am using the two asp.net folders App_GlobalResources, App_LocalResources for localization. Global is for resources on that are used on an entire site. Local is for page specific, my issue is I have a site where all the pages are named default.aspx in
different folders, unless you can prove me otherwise it doesn't seem like I can't have resource files in the App_LocalResources fold with the same name. Will I have performance issues if I have everything inside of one file in the App_GlobalResource file?
I am guessing the App_GlobalResource files get loaded every time, while the App_LocalResource file gets loaded on for the specific page which is why they are two different entities in the first place. Any ideas?
Jun 04, 2008 08:29 PM|AndrewSeven|LINK
Do you have only one App_LocalResources for the whole site?
You can put an App_LocalResources in each folder and it can then have its own default.aspx.resx
Jun 05, 2008 03:52 AM|ReyN|LINK
the App_LocalResources folder must be a subdirectory relative to the page that will use it. you cannot just place any App_LocalResources anywhere, as mentioned in the docs. it will throw an exception at run time if the framework cannot locate the associated
so in your case, since you have default.aspx files in different folders, you can have an App_LocalResources subdirectory for each default.aspx page you want to localize