0

How to use resx in RouteConfig like this;

 public static void RegisterRoutes(RouteCollection routes)
    {
        routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

        routes.MapRoute(
        name: "GetProjectsCategory",
        url: "{lang}/" + Globalization.Content.Url_Office_Furniture,
        defaults: new { lang = "", controller = "Proje", action = "Liste", Katad = "", GelenId = "1" }
        );
}

i want to url like this;

domain.com/en/office-furniture

domain.com/fr/mobilier-de-bureau

erenn
  • 5
  • 3

0 Answers0