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

Multilingual dynamic website


Reply


2 Posts   1177 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 [url=http://doc.silverstripe.org/doku.php?id=recipes:multilingual_content]Alternative multilingual recipe[/url] - 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: [url=http://clean-water-thailand.com/]waste water treatment Thailand[/url] 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 [url=http://silverstripe.org/general-questions/show/253576]Multilingual Content - alternative to 'translatable' [/url] .