Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Managing a bilingual website through SilverStripe

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

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

Page: 1
Go to End
Author Topic: 2775 Views
  • Thuva
    Avatar
    Community Member
    3 Posts

    Managing a bilingual website through SilverStripe Link to this post

    Hello,

    I have a client who wants to have two versions (English and French) of each page. Is it possible to create such website using SilverStripe and let the client manage it on her own.

    Thank you in advance.

    Kind Regards,

    Thuva

  • terranigma
    Avatar
    Community Member
    2 Posts
  • Maxximus
    Avatar
    Community Member
    7 Posts

    Re: Managing a bilingual website through SilverStripe Link to this post

    I'm quite new here, but I need different languages too.

    What could be a quick and easy solution is an extra field in the SiteTree_Live (and SiteTree_versions) with a language ID, and a selectbox in the CMS.

    Enabling a second language would be quite simple this way.

    SilverStripe might need a 'Preferences' page, to enable these site-wide things (also site-title, etc etc). It might need a constants file as well so all language aspects can be removed in templates etc.

    The language_id will probably be nessesary in other DB tables as well.

    Setting a default language could be nice, so pages not filled in the second (or nth) language defaults to the standard page.

    For the actual site the language can be included in the page-path (like domain/home_en/ or domain/en/home/)

  • Willr
    Avatar
    Forum Moderator
    5503 Posts

    Re: Managing a bilingual website through SilverStripe Link to this post

    internationalisation/localisation support is one of the many GSoC projects that is being worked on over the next few months. - http://www.silverstripe.com/google-summer-of-code-students-announced/ . So hopefully you will see some new wicked features eg different language support in the future.

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Managing a bilingual website through SilverStripe Link to this post

    "SilverStripe might need a 'Preferences' page, to enable these site-wide things (also site-title, etc etc). It might need a constants file as well so all language aspects can be removed in templates etc. "

    good idea - at the moment, we're trying to keep global preferences mostly in <myproject>/_config.php (as static variables or constants), but we understand the need for a preferences-GUI. at the moment, we're trying to figure out how to avoid horrible global array-structures like TypoScript (http://typo3.org/documentation/document-library/core-documentation) and retain the flexibility of "code-level" settings (inheritance, easy access, ...).

    2775 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.