Laravel Dimsav Translatable Updating Translations

Submitted by tanmuhittin on Tue, 06/28/2016 - 13:30

It is a common way to update all translations of a content at once. You might have language per tabs or list them at the same page. Sometimes updating all languages is troublesome.

In my case I could only updated the current language altough I sent all the information in all languages.

The way of doing this is :

Posts::find($post_id)->fill($value)->save();

Then after some research I found that problem was due to my $value array. I had the translatable elements in $value array. After I remove translatable cols from $value array it worked fine