Last post Jul 28, 2008 06:28 PM by vivek_iit
Jul 28, 2008 07:35 AM|HMobius|LINK
I'm just starting to look at localization and was wondering if there is a way to create a middle ground between app_globalresources and app_localresources where you can create a set of resouce files that are scoped to the all the pages in a folder rather
than all the pages in a site or a single page.
The web app I'm looking to introduce dynamically generates clients (reporting) websites under a single folder within the one web application. It's not feasible to continually add \ remove web applications in IIS as the client regenerates them and thus use
app_globalresources and there can be quite a number of pages in the folder so using app_localresources often results in a lot of repeated settings should be refactorable into one file IF there was a way to scope resources on a per-folder basis.
Jul 28, 2008 04:02 PM|vivek_iit|LINK
It is not easily possible so I would suggest that you use App_globalresources folder only as using local resources will leave you with a lot of redundant data.
Jul 28, 2008 05:53 PM|HMobius|LINK
As I said above, App_GlobalResources doesn't make logical sense. Each folder is a different client's web site so having one file to rule them all doesn't work and would also reboot all the sites when any of the resources was changed.
Jul 28, 2008 06:28 PM|vivek_iit|LINK
In that case you can go for a custom database based solution, instead of using resx files use database by extending resource provider classes.