I would like to support many languages in an MVC project. I did it already using WebForms.
I used LocalizedPage
class inherited from Page
. In MVC I am inheriting LocalizedPage
from a System.Web.MVC.ViewPage
,
public class LocalizedPage : System.Web.Mvc.ViewPage开发者_JAVA百科
and then my model uses it like this:
public class OverviewModel : Services.LocalizedPage
My problem is that it nothing happens at all. I am not landing in debug breakpoint in localizedPage.cs at all.
What am I doing wrong?
Please help me, take care
You might want to take a look at this post.
精彩评论