OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Localized routes #2554

Open orchardbot opened 12 years ago

orchardbot commented 12 years ago

@Piedone created: https://orchard.codeplex.com/workitem/18727

Currently routes specified in RouteProviders are not localizeable, i.e. if one wants to have a route in another language (e.g. in the route Tags/[tag] change "Tags" to its equivalent in a local language) one has to override the route with a higher priority. This works, but could be better if routes could be localized with T-string just like anything else. I think this is currently not possible, as route compilation happens earlier than the availability of the Localizer.

orchardbot commented 12 years ago

@sebastienros commented:

I think it's a very nice suggestion. It can't be changed for the next version, too late, but I put it under High so we don't miss it for next time.

orchardbot commented 12 years ago

@Piedone commented:

Fantastic!

Skrypt commented 9 years ago

:+1:

Skrypt commented 9 years ago

AttributeRouting !