rainlab/builder-plugin

Add support plugin Translate

Closed this issue · 1 comments

Plugin Blog have support Translate, this Builder why not?

Resolved

YOUR_PLUGIN/models/CLASS_NAME.php
ADD:
public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
public $translatable = ['title','descr','descr_sh']; //fields for translate