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

Language URLs?


Go to End


5 Posts   1043 Views

Avatar
jand

Community Member, 30 Posts

21 July 2010 at 1:34am

Hi,
I like the hierarchical URLs in 2.4 but I'm not sure if you can automatically implement the language short in the URLs?
e.g. http://www.domain.com/en/nested/url/

And if you enter http://www.domain.com/de/nested/url/ you get the same page in german (if it has the right name).

Avatar
dompie

Community Member, 88 Posts

28 July 2010 at 9:16pm

I'd like to change the default URL scheme to something like 'http://www.domain.com/en/nested/url/' too. I've looked into SimpleURL and other url methods, but could not find a default pattern.

How do i solve this in SS 2.4? Any hints?

Avatar
rob.s

Community Member, 78 Posts

1 August 2010 at 9:34pm

would be really nice to know .....

Avatar
k0m0r

Community Member, 39 Posts

8 August 2010 at 9:24pm

Why don't you set your HomePage URLs to 'en', 'de', etc. and move other pages as children of homepage?

Avatar
dompie

Community Member, 88 Posts

9 August 2010 at 7:35pm

Edited: 09/08/2010 7:36pm

Because
1. this would make the translateable extension useless
2. therefore every user needs to track manually translations for 2 (my case 3, later 7) and more subtrees
3. it is the wrong place to solve that problem