17488 Posts in 4473 Topics by 1978 members
|Go to End|
15 March 2008 at 8:33am Last edited: 15 March 2008 8:39am
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 ...
18 March 2008 at 8:58pm
20 May 2008 at 10:07am Last edited: 20 May 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 http://doc.silverstripe.com/doku.php?id=multilingualcontent
(newbie here, so I won't be of more help :/ )
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?
|Go to Top|