Hallo guys!
So how to install translatable on 3.0.5?
I know similar questions have been asked on this forum as well as other places in internet dozens of times. And I checked them all. None works correctly.
eg. Method on github causes server error during the first database rebuild.
This code from ssbits.com works at first:
Translatable::set_default_locale('en_GB');
Translatable::set_allowed_locales(array(
'en_GB', //UK English
'ro_RO', //Romanian
'ru_RU' //Russian
)
);
Object::add_extension('SiteTree', 'Translatable');
Translations after implementing it worked perfect, but uploading new files became impossible and causes "SyntaxError: Unexpected token T". Actually the whole section "Files" became useless.
So what is the correct way to install Translatable and not to break anything else???
I use SilverStripe 3.0.5 on Ubuntu LAMP. Translatable 1.0.0.
Thanx in advance for any tips.