You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the navigation route is just a system.web route. so you would do this the
same way you would with standard mvc route. add the data token in the
routes. /{ln}/home/ ect....
Sure, but when you chage culture you need to set this token to all other navigation links(m.b. change Url of NamedRoute). Chage /about to be /ru/about while staing on /ru/home page, right?
so you should do something like /{locale}/{controller} in the route.... I current dont have support for tokens with the strongly typed route helpers but the string based ones should support this. as long as you keep the tokens in all of the routes this should work as is.
Another approach is to insert the token into every route after the route table is populated. I actually use this approach for my main work website.
Eric, can you suggest how to use MapNavigationRoute if I want to have ru/en/es in my route.
Thank you!
The text was updated successfully, but these errors were encountered: