This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I want to use the https://github.com/dimsav/laravel-translatable Trait to have a multilingual site, but the save method wasn't compatible with October Model.
Declaration of Dimsav\Translatable\Translatable::save() should be compatible with October\Rain\Database\Model::save(array $data = NULL, $sessionKey = NULL)
To made it compatible, I only need to change the method params on Dimsav\Translatable\Translatable::save()
or is necessary more changes to have fully work the Translatable Trait with October Models?
Thanks.
You will need to fall back on using Illuminate\Database\Eloquent\Model
instead of \Model
for this to work.
Or just wait a few days and use the RainLab.Translate plugin when it is released.
https://github.com/rainlab/translate-plugin
Last updated
1-3 of 3