Author: Manuel Lemos
Updated on: 2021-08-11
Posted on: 2021-08-11
Package: Laravel Translatable
This problem requires improving those model classes for applications that store texts dynamically in databases using model classes.
This way, applications can retrieve the correct text translations depending on the current user's preferred language.
This package provides a trait that can enhance the capabilities of model classes used in Laravel based applications.
The trait can access the translated text values stored in model objects depending on the current user language.
About the Laravel Translatable Package
The basic purpose is: Provide text translations to use in model classes
Here follows in more detail what it does:
This package can provide text translations to use in model classes.
It provides a trait that can be used by Laravel model classes to provide translations for texts stored in given variables of the model class that uses this trait.
The trait can retrieve, add, update and delete texts of variable values for different languages supported by the application that uses the model class that users the trait.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,587,937 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.