Click here to Skip to main content
16,020,447 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello Everyone,
I am working on website development in asp.net. where i have used Master Page concept and content page. and by using dropdownlist I am changing its language.

<img src="http://www.daniweb.com/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy80LzI1MWJjZmM4NTY1ZDNiM2EwYmU2ODcyY2FkZmU0YTcyLnBuZw%3D%3D/500" />

As we see in fig no. 2, if I took this file hirarchy then application works perfect.
but if I changed something like [refer fig. no. 1 ] added one folder and add actual content file inside it. then website stops localization process.
how to call that App_LocalResource Files.
Posted

1 solution

Got Answer...
Simply make App_Resource in each folder to override this problem. like
----------------------
Project Structure
-------------------------
Solution LocalizationDemo
++App_Code
++App_GlobalResources
++App_LocalResources
++Bin
++PagesFolder
++++App_LocalResources
+++++++ContentPage.aspx.hi.resx
+++++++ContentPage.aspx.de.resx
+++++++ContentPage.aspx.ar.resx
++++ContePage.aspx
++++++ContePage.aspx.vb
++web.config

Thank you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900