Manage localized routes and translatable models with Laravel Translatable
Laravel Translatable is a useful package to manage localized routes and translatable models.
Features
-
Automatically register the routes for each locale you wish to support.
-
Optionally remove the locale slug from the URL for your main language.
-
Generate localized route URL's using the trans_route() helper.
-
Allow routes to be cached.
Installation
You can install this package using Composer.
composer require sertxudeveloper/laravel-translatable
Source Code
https://github.com/sertxudeveloper/laravel-translatable?ref=learninglaravel