Laravel Translatable – Add translations to Eloquent models
To add translations to Eloquent models in Laravel, you can use a package like Astrotomic Laravel Translatable, which makes it easy to handle translations for your Eloquent models. Step 1: Install the Laravel Translatable Package Run the following Composer command to install the Astrotomic Laravel Translatable package: bash
1 |
composer require astrotomic/laravel-translatable |
Step 2: Publish the Configuration …
Laravel Translatable – Add translations to Eloquent models Read More »