Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Translatable

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

Page: 1
Go to End
Author Topic: 1578 Views
  • Beck
    Community Member
    23 Posts

    Translatable Link to this post

    Hi everyone! problem is: i couldn't do Multi-language page or just one language (except english)

    I insert to _config.php:

    Object::add_extension('SiteTree', 'Translatable');

    then: dev/build?flush=1

    but it doesn't render:
    see this page http://roboclean.uz/comments here actually must be in russian but there in english

    even i did
    but error is: Fatal error: Call to undefined method i18n::set_default_locale() in /home/robouz/public_html/mysite/_config.php on line 27

    then did
    error:Fatal error: Class 'i10n' not found in /home/robouz/public_html/mysite/_config.php on line 27

    2. question is how can i chagne in comment form, website url to email or add extra form(example: Country)

    thanks in advance

  • Beck
    Community Member
    23 Posts

    Re: Translatable Link to this post

    urgent problem. i didn't solve this problem yet

  • Ingo
    Forum Moderator
    801 Posts

    Re: Translatable Link to this post

    Uhm, you're using APIs that don't exist (i10n and set_default_locale), what other than an error do you expect?

    Please have a look at http://doc.silverstripe.com/doku.php?id=multilingualcontent#switching_languages

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.