Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Language URLs?

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

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

Page: 1
Go to End
Author Topic: 669 Views
  • jand
    Avatar
    Community Member
    30 Posts

    Language URLs? Link to this post

    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).

  • dompie
    Avatar
    Community Member
    88 Posts

    Re: Language URLs? Link to this post

    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?

  • rob.s
    Avatar
    Community Member
    78 Posts

    Re: Language URLs? Link to this post

    would be really nice to know .....

  • k0m0r
    Avatar
    Community Member
    39 Posts

    Re: Language URLs? Link to this post

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

  • dompie
    Avatar
    Community Member
    88 Posts

    Re: Language URLs? Link to this post

    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

    669 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.