Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Multiple languages on different levels


Go to End


682 Views

Avatar
Rodskagg

Community Member, 26 Posts

29 April 2015 at 3:07am

My default website, built in Silverstripe, will be in Swedish. However, there will also be an English version, located in a subfolder (/en), with it's own navigation and pages. Basically, in the english version, the navigation should not start at the root, but one step down, from the /en folder, and that goes for all sub navigations as well. What's the best way to solve this? Do a check in the ss files, and if we're on the English version, change the top navigation to use $Menu(2) instead of $Menu(1) and the same for all other navigations?