This package contains a trait to make Eloquent models translatable. Translations are stored as json. There is no extra table needed to hold them.
Once the trait is installed on the model you can do these things:
$newsItem = newNewsItem(); // This is an Eloquent model$newsItem
->setTranslation('name', 'en', 'Name in English')
->setTranslation('name', 'nl', 'Naam in het Nederlands')
->save();
$newsItem->name; // Returns 'Name in English' given that the current app locale is 'en'$newsItem->getTranslation('name', 'nl'); // returns 'Naam in het Nederlands'app()->setLocale('nl');
$newsItem->name; // Returns 'Naam in het Nederlands'