Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Silverstripe allways start's in English!(stage)

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: 929 Views
  • gonace
    Community Member
    11 Posts

    Silverstripe allways start's in English!(stage) Link to this post

    I've been scratching my head for a while now, been trying everything I could find in this forums but nothing helps! When I enter my homepage it's always in English, I've added the following to _config.php

    //Set Default Language

    The site response:
    The requested page couldn't be found.

    But if i add "?stage=Live&locale=sv_SE" The Swedish site appears!

    But can't get it to work! I've tried to empty the database and start from scratch but if i don't add a page for "English" the site won't open, and if I add a page for "English" it always opens the English version of the page!

    How hard can it be to get another language as default/start language?

  • bartvanirsel
    Community Member
    94 Posts

    Re: Silverstripe allways start's in English!(stage) Link to this post

    hi gonace,

    i had a similar problem. If i remember it correctly i solved this by chaning the url and/ or title of the page you need to be the
    default language in 'home'. Name the other one something like 'home_en'

    I'm curious if this will solve your problem.

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.