Hi fellows, I am building a website that has two languages (Simplified Chinese and English), where I created some plugins to input datas from backends. And I would like to use Translate plugin for the locale feature. However, I followed the steps from the documentation and input the codes into myPlugin.php in myPlugin model directory as below:
public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel'];
public $translatable = ['title'];
Both with and without @ before RainLab. So then I try to click on the backend menu of myPlugin and click create expecting that I can input for other language but seems to have nothing changed.
Am I expecting the wrong thing? (Because I see there should be a little letters shorthand of the language (e.g. EN) to click to choose the language you want to input.) Is there anything that I did wrongly? If thats the case, what should be the steps to take in order to allow me to choose the language to input from the backend?