Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2021-07-08 (2 months ago) | | Not yet rated by the users | | Total: 18 | | All time: 10,366 This week: 200 |
|
Description | | Author |
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.
Innovation Award
July 2021
Number 5 |
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.
Manuel Lemos |
| |
|
|
Innovation award
Nominee: 17x |
|
Details
<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/translatable.jpg"></a></p>
<p align="center">
<a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a>
<a href="https://laravel.com" target="_blank"><img src="https://img.shields.io/static/v1?label=Laravel&message=%3E=6.0&color=F05340&style=flat-square" alt="Laravel Version : >= 6.0"></a>
<img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License">
<a href="https://liberapay.com/Pharaonic" target="_blank"><img src="https://img.shields.io/liberapay/receives/Pharaonic?color=gold&label=Support&style=flat-square" alt="Support"></a>
<br>
<a href="https://packagist.org/packages/Pharaonic/laravel-translatable" target="_blank"><img src="https://img.shields.io/static/v1?label=Packagist&message=pharaonic/laravel-translatable&color=blue&logo=packagist&logoColor=white" alt="Source"></a>
<a href="https://packagist.org/packages/pharaonic/laravel-translatable" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-translatable/v" alt="Packagist Version"></a>
<a href="https://packagist.org/packages/pharaonic/laravel-translatable" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-translatable/downloads" alt="Packagist Downloads"></a>
</p>
<h3 align="center">Simplest Translatable for Laravel Eloquent/Model.</h3>
<br>
Documentation
You can find the detailed documentation here in Laravel Translatable Documentation.
Contributing
Thank you for considering contributing to this package! Be one of Pharaonic team.
Pharaonic Sponsors
We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.
License
This package is an open-sourced software licensed under the MIT license.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.