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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Multiple Languages


Go to End


2 Posts   1835 Views

Avatar
pxg

Community Member, 2 Posts

4 June 2010 at 10:06pm

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

Forum Moderator, 1899 Posts

5 June 2010 at 12:20am

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.