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.

Archive

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

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

Translation defaults


Reply

6 Posts   1970 Views

Avatar
OzziNL

7 December 2007 at 11:41pm Community Member, 37 Posts

Hi there,
Working for a week now with SS and so far: love it!

I have a question about multi language sites. I managed to default the CMS to dutch.
But the site I'm working on is default dutch (nl_NL).
The system however is en_EN and I can add only dutch as "translated pages". Is there a way to make nl_NL my default and to add English as a translation?

I hope I explained my problem clearly ... :)

Thanks in advance

Avatar
guillem_l

11 December 2007 at 6:03am 9 Posts

Hi,

I have the same question, how to set the default language to Catalan insted of English, for example, and how to delete a Translation after created it.

Thanks.

Avatar
Pasquale

11 December 2007 at 11:44am Community Member, 3 Posts

I Have a site with 3 languages. When I create a page in english it doesn't apear in Spanish or Catalan tree menu.

Avatar
Ingo

13 December 2007 at 10:55am Forum Moderator, 801 Posts

@ozzi/guillem: you can configure the default website language by setting
i18n::set_default_lang('de'); // for german
i've updated the wiki: http://doc.silverstripe.com/doku.php?id=multilingualcontent

@pasquale: a new page doesn't have all translated languages by default, you have to explicitly create them for each page.

Avatar
OzziNL

13 December 2007 at 11:00am Community Member, 37 Posts

Great! I'll give it a try!

Thanks

Avatar
guillem_l

13 December 2007 at 11:08am 9 Posts

thanks! Works form me.