locked
When a page is in a sub-directory RRS feed

  • Question

  • User2136835269 posted

    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?

     

    Thursday, December 29, 2005 11:26 AM

All replies

  • User1183903743 posted

    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

    Thursday, December 29, 2005 2:54 PM