Search code examples
c#asp.net-mvcmodel-view-controllerlocalized

how to localize an asp.net mvc webproject? languages support


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

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


Solution

  • You might want to take a look at this post.