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.

Customising the CMS /

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

Choose language start page


Go to End


2 Posts   2609 Views

Avatar
freewolny

Community Member, 12 Posts

30 December 2008 at 2:58am

I need to create a start page with language chooser
After choosing language that start page should not be visible in the menu and the default homepage will be:
mysite/en/ mysite/ru/ depending on the language chosen.

Many thanks!

Avatar
freewolny

Community Member, 12 Posts

30 December 2008 at 2:52pm

Edited: 07/01/2009 12:07pm

Or maybe just rebuild <% control Menu %> for links seems like:

en/item1 | en/item2 | en/item3 if I switch english language

ru/item1 | ru/item2 | ru/item3 if I switch russian language

Ps.
Multilanguage is enable with this recipe:
http://doc.silverstripe.com/doku.php?id=recipes:pretty_i18n_urls&s=multilanguage