Solution for translate model attribute
Hi!
I have a problem, I want to make it possible to translate model attributes into different languages. I found two solutions.
github.com/aenzenith/laravel-localizable
github.com/CloudMonitorApp/Translatable
- The first library creates an additional table in the database that stores translation options for all models.
- The second library is based on that we make the attribute of the JSON type and store all possible translation options in it.
What do you think would be the best solution? In terms of speed and ease of access to data? Which one would you use in your project?
Thanks
Did you answer to yourself?? I'm looking for the same solution...
@forna91fi what solution? there are two solutions provided on the question itself and many more can be found with some research
Please or to participate in this conversation.