Jump to:

23015 Posts in 11874 Topics by 2830 members

General Questions

SilverStripe Forums » General Questions » multilanguage support

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

Page: 1
Go to End
Author Topic: 1050 Views
  • pille
    Avatar
    Community Member
    1 Post

    multilanguage support Link to this post

    hello guys
    first i have to say the cms is not bad - i just look at it the first time
    and have already problem
    the multilanguage support

    i found a docu where it says to add
    Object::add_extension('SiteTree', 'Translatable');
    in mysite/-config.php

    i have done it and i get an error back

    [User Error] Couldn't run query: SELECT Distinct Locale FROM SiteTree GROUP BY Locale Unknown column 'Locale' in 'field list'
    GET /silver/admin/

    Line 400 in C:\wamp\silver\sapphire\core\model\MySQLDatabase.php

    can somebody explain to me in language which is understandable
    i really dont understand the statements on the docu

    thanks

  • yurigoul
    Avatar
    Community Member
    202 Posts

    Re: multilanguage support Link to this post

    Have you given a dev/build? (as in: go to http://yoursite.com/dev/build/ in your browser)

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: multilanguage support Link to this post

    Have you this setup?

    Object::add_extension('SiteTree', 'Translatable');
    i18n::enable();
    Translatable::set_default_locale('it_IT');

    1050 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.