This project is read-only.

Multilanguage Site

Topics: Localization
Jan 16, 2014 at 8:23 AM
I'd like to use urls like "/<culture>/<page>" with Orchard ( es: /en-EN/home or /fr-FR/home ).
What is the better way to get it in order to retrieve the current language used inside code?
I know that with multilanguage module I can specify the page url with an arbitrary path but I'm looking to find a more structural way to accomplish the goal. CompositeC1 for example has a good multilanguage handling system and I'm looking in Orchard some equivalent way.

Thanks in advance
Jan 19, 2014 at 9:18 PM
If there is a token for the culture, what I don't know, you can configure Autoroute's patterns with it to include the culture in the route. Take a look at the localization-related modules in the Gallery, I'm pretty sure there's one that enables route-bases culture selection.