Hey guys,
I've used Translatable without problems before, but now I'm bumping into one problem after another. I've tried installing Translatable on SS3.1, didn't work. Then I tried SS3.0.5, and am getting the same error.
I've downloaded Translatable and stored it in the root folder, naming the folder 'translatable'. I've added this to the config file in mysite/:
// Set the site locale
i18n::set_locale('en_GB');
//default translation
Translatable::set_default_locale('en_GB');
Object::add_extension('SiteTree', 'Translatable');
When I do a 'dev/build', I'm presented with these errors:
Strict standards: Non-static method Object::config() should not be called statically in C:\wamp\www\ss3s\translatable\code\model\Translatable.php on line 270
Fatal error: Using $this when not in object context in C:\wamp\www\ss3s\framework\core\Object.php on line 67
Now when I add quotes to the line
Translatable::set_default_locale('en_GB');
, the build works fine. What might be the problem?