PHP Classes

How Can Laravel Translation Package Be Used to Internationalize Applications with Texts Stored in Model Classes - Laravel Translatable package blog

Recommend this page to a friend!
  All package blogs All package blogs   Laravel Translatable Laravel Translatable   Blog Laravel Translatable package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can Laravel Trans...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: Laravel Translatable

Many applications need to be prepared to work with users that understand different languages. Therefore the text that is presented to them must be translated to multiple languages.

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.




Loaded Article

About the Laravel Translatable Package

The package Laravel Translatable is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

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.

Conclusion

The Laravel Translatable can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

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,611,091 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Laravel Translatable Laravel Translatable   Blog Laravel Translatable package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can Laravel Trans...