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.

General Questions

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

Multiple Languages


Reply

2 Posts   1138 Views

Avatar
pxg

4 June 2010 at 10:06pm Community Member, 2 Posts

Hi,

I've installed SilverStripe and want to add multiple languages to my website. How do I enable the translations tab like on the demo website: http://demo.silverstripe.com/

Any help would be greatly appriciated.

Thanks,
Pete

Avatar
swaiba

5 June 2010 at 12:20am Forum Moderator, 1796 Posts

This code you'll use will be around this...

http://api.silverstripe.org/trunk/sapphire/i18n/Translatable.html
(there are code samples if you scroll)

Otherwise I'd massively suggest you get the excellent silverstripe book that has alot of information about this and some nice suggestions for changing the language.