Hi,
I'm working on my first multilingual site with SS and I'm having troubles with the translatable class!
I was trying to do everything according to http://doc.silverstripe.com/doku.php?id=multilingualcontent but could not get anything working at all!
First I tried putting
Translatable::set_default_locale(<locale>);
in my _config.php, but this function doesnt seem to exist in my Ss version in the Translatable class!
Furthermore if i try
Object::add_extension('Page', 'Translatable');
in _config.php or static $extensions = array(
"Translatable"
);
in Page.php the result is always resulting in [Warning] Missing argument 1 for Translatable::__construct()
I think I have to pass somehow the translatable fields to the decorator, but don't know how to do that!
All in all i would just need a quick version to make all content translatable, and the site will feature at least 4 languages, so work arounds like creating seperate fields for languages doesnt really work, and translateable as shown in the tutorial would be perfect for me, but no idea how to get that working, any fast help is really appreciated! thanks!