ASP.NET MVC - Localization route
- by ropstah
Hi,
i'd like to create localized URL's for my site. They should obviously point to the same controller actions, but I want the first routevalues to -always- be the location/language specification. Is this possible?
http://www.website.com/en/us/controller/action
http://www.website.com/en/gb/controller/action
I understand it can be done by defining {language} and {location} in every route, but i'm looking for a slick, non-hacky solution.