i can easily use .resx files (build with Visual Studio Express) in App_GlobalResources and, at the same time, i can't figure how to have .resx files in App_LocalResources working
i know i have to call the .resx file for mypage.cshtml as mypage.cshtml.resx, but i always get "resource not found" error
_pietro
Member
17 Points
57 Posts
how do i use localizazion and local resources???
Mar 18, 2012 07:55 AM|LINK
i can easily use .resx files (build with Visual Studio Express) in App_GlobalResources and, at the same time, i can't figure how to have .resx files in App_LocalResources working
i know i have to call the .resx file for mypage.cshtml as mypage.cshtml.resx, but i always get "resource not found" error
can anyone suggest an example?!
thanks
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: how do i use localizazion and local resources???
Mar 18, 2012 08:52 AM|LINK
See if this helps: http://www.mikesdotnetting.com/Article/183/Globalization-And-Localization-With-Razor-Web-Pages
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
_pietro
Member
17 Points
57 Posts
Re: how do i use localizazion and local resources???
Mar 19, 2012 12:28 AM|LINK
thanks, but this example uses global resources...i need local resources to work
after reading other articles i'm thinking that the guide wasn't clear and only global resources are automatically build into an object
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: how do i use localizazion and local resources???
Mar 23, 2012 04:27 AM|LINK
Hi
You can first read this :
http://msdn.microsoft.com/en-us/library/c6zyy3s9.aspx
Then:
http://forums.asp.net/t/1779052.aspx/1
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework