Ok, I have solved this for my projects and have created a package for anyone that comes into this situation again: TranslateThatModel
Here is another approach on translating Eloquent objects: https://github.com/vinkla/translator
Hello,
I 've created a package igaster/laravel-translate-eloquent that adds translation to any Eloquent Model. It requires only one additional table in your DB where all the translations will be stored...
Hope it is usefull... Cheers!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community