Closed thitami closed 6 years ago
This package does the same like your example - you have a second table with all translations. For a single field this adds an overhead cause you everytime need a join and/or second query. There is a package by @spatie that does it by using the MySQL5.7 JSON column: https://github.com/spatie/laravel-translatable If you met all requirements I would recommend you to use the package by spatie. By the way: spatie creates awesome and outstanding packages! 😉
@Gummibeer Many thanks for the insights! I am sure that spatie also creates awesome packages. 🙂
First of all, amazing work with this package @dimsav !
I'd like to ask if you (or anyone else) believe that it can be helpful in a case of having a translatable field. In specific, I have got a a
movies
table which has atitle
field among the other fields but the only translatable is actually the latter. Then, I have got amovie_translations
table withtranslated_title
andlocale
fields.Does it worth from your point of view the package or it will be an overkill?
Many thanks again for this package!