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

Multilingual dynamic website


Go to End


2 Posts   1725 Views

Avatar
azote

Community Member, 1 Post

15 April 2009 at 7:57pm

Edited: 15/04/2009 8:08pm

Hi there, I'm new to this CMS and I need to set up a website that contains both multilingual and server-side content.
Is it possibile to handle php "multilingual" code via the Content Editor?
I tried to write some code in the wysiwyg but my code was not inserted.
Thanks,
Davide

Avatar
Kalileo

Community Member, 127 Posts

1 May 2009 at 2:37pm

Edited: 01/05/2009 2:49pm

Check out the recipe at Alternative multilingual recipe - works for me on a SS 2.3.1 site. After following the recipe you can add all translations of content, even translated meta tags if you add fields for them, from within the cms. For other text, such as label names in forms, use the i18n functionality (not translatable! translatable is a different story). See such a site online: waste water treatment Thailand click on the flags in the nav bar. Not all content is translated yet, but you see enough content already in the 3 languages of the site.

More info about it in the forum discussion here Multilingual Content - alternative to 'translatable' .