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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

Language problems

Go to End

4 Posts   2300 Views


Community Member, 3 Posts

15 March 2008 at 8:33am

Edited: 15/03/2008 8:39am

Hi ,

Here is a thing. Silverstripe have certain logic regarding translation of db items , whitch are that first have to be an item in to defoult language and then translate that item in to different language.

Problem is that in current project i need functionality that in every langage , language-owner have option that he buiilt his own content, not depending it on content of defoult language.

Can you give me some details what is best practice for me to get this thing work ...



Community Member, 3 Posts

18 March 2008 at 8:58pm

anyone ?


Community Member, 11 Posts

20 May 2008 at 10:07am

Edited: 20/05/2008 10:08am

You might eventually select another default language:

If you want to have new pages defaulting to a language other than english, you can configure this by

i18n::set_default_lang('de'); // for German ... in your _config.php

This has the advantage that you’re not required to have an english version for every german page you create, but can rather optionally attach an english translation.

moreover at
(newbie here, so I won't be of more help :/ )


Community Member, 3 Posts

15 October 2008 at 7:42am

This would require to change _config.php everytime you want to add new content. Is there an easier way?