Waavi / translation

Better translation management for Laravel
MIT License
359 stars 167 forks source link

Setting non-translatable raw attributes breaks translation #164

Open NaLogo opened 4 years ago

NaLogo commented 4 years ago

Hi!

When setting raw attributes (which aren't translatable) first and then setting translatable attributes individually afterwards using ->setAttribute(), the translation codes will be different every time the model is saved.

Setting non-translatable attributes using ->setRawAttributes() should not break translations of other attributes at all.