Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Help with multiple language website

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: 1069 Views
  • SoulChild
    Avatar
    Community Member
    1 Post

    Help with multiple language website Link to this post

    I'm need of some direction here. I've never really worked with silverstripe before but it looks very promising to say the least. I currently have a project where I have to make a site in two languages.(Dutch and French)

    I have no idea how to make this happen in silverstripe. There's some vague documentation out there but I'm completely lost at the moment. I refuse to believe I'm the first person that tries to make a website with two languages with silverstripe...

    If anyone can point me in the right direction or give me a step by step tutoriol, you would be a godsend. I'm a pretty good PHP coder, I've made my own php sites and I would be able to make this in my own way with two database-tables(one for each language), but this is the first time I've ever used Silverstripe. So I'm kinda lost. It's possible that the solution is very simple but I can't find it.

    I've found this article but I have no idea where to put this code or where it comes from.

    http://doc.silverstripe.com/doku.php?id=multilingualcontent

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Help with multiple language website Link to this post

    Add Translatable::enable(); to your mysite/_config.php file. This will enable Translatable. You then need to rebuild the database by visiting http://www.site.com/db/build?flush=1. Try that and see what happens.. I don't have alot of experience with it but Ive seen quite a very multilingual sites setup via the sites showcase, http://www.demconvention.com/ is one that I have worked on that supports english / spanish

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