|
Hi,
I've started working with orchard recently and wanted to make my website's contents have an autoroute path that uses their culture. Something like this:
www.mysite.com/en-US/page1
and if I create a translation of page1 into portuguese (that's my country! :) ) I would like it to appear as
www.mysite.com/pt-PT/page1
For that purpose I've found the module Vitus.Localization (http://gallery.orchardproject.net/List/Modules/Orchard.Module.Vitus.Localization/1.4.2.4)
which has the Vitus First Request Path Part Culture Selector - I think this is exactly what I want. The problem is that I can't figure out how to use it.
Have anyone tried this already and knows how to use it?
Also the Vitus Culture Tokens don't seem to be working for me: changed the page's autoroute part to "{Content.Culture}/{Content.Slug}" but orchard just ignores the {Content.Culture} when I create a new page..don't know why!
Any help is appreciated! =)
Best regards,
João
|