Last post Dec 29, 2005 02:54 PM by rmprimo
None
0 Points
2 Posts
Dec 29, 2005 11:26 AM|ABrekken|LINK
I've been struggling a bit with a standard localization setup with a small twist: My error pages are in a sub-folder called "Errors". The error pages are localized, and I get error messages about "resource object key '...' was not found."
Files: App_LocalResources\ FrontPage.aspx.resx Errors\ FileNotFound.aspx.resx FrontPage.aspx Errors\ FileNotFound.aspx
I also tried plain: App_LocalResources\ FrontPage.aspx.resx FileNotFound.aspx.resx FrontPage.aspx Errors\ FileNotFound.aspx
Any ideas?
Member
22 Points
700 Posts
Dec 29, 2005 02:54 PM|rmprimo|LINK
Each folder should have its own app_local
It should be: ~/FrontPage.aspx ~/App_LocalResources\FrontPage.aspx.resx ~/Errors\FileNotFound.aspx ~/Errors\App_LocalResources\FileNotFound.aspx.resx
None
0 Points
2 Posts
When a page is in a sub-directory
Dec 29, 2005 11:26 AM|ABrekken|LINK
I've been struggling a bit with a standard localization setup with a small twist: My error pages are in a sub-folder called "Errors". The error pages are localized, and I get error messages about "resource object key '...' was not found."
Files:
App_LocalResources\
FrontPage.aspx.resx
Errors\
FileNotFound.aspx.resx
FrontPage.aspx
Errors\
FileNotFound.aspx
I also tried plain:
App_LocalResources\
FrontPage.aspx.resx
FileNotFound.aspx.resx
FrontPage.aspx
Errors\
FileNotFound.aspx
Any ideas?
andreas@abrekken.com
Member
22 Points
700 Posts
Re: When a page is in a sub-directory
Dec 29, 2005 02:54 PM|rmprimo|LINK
Each folder should have its own app_local
It should be:
~/FrontPage.aspx
~/App_LocalResources\FrontPage.aspx.resx
~/Errors\FileNotFound.aspx
~/Errors\App_LocalResources\FileNotFound.aspx.resx
Rob