translate / processdrivepackage
v1.0.0
2022-10-13 09:03 UTC
This package is not auto-updated.
Last update: 2024-11-07 18:37:30 UTC
README
ProcessDrive laravel trans Using With JS File
This library is used for laravel trans method is use for JS File
Installation
Run this command in your terminal
composer require translate/processdrivepackage
After Installation
To set service provider to config/app.php file
'providers' => [
Translate\Processdrivepackage\TranslateServiceProvider::class,
]
To set view file in your appliction. you will set below code in common blade file
@include("Processdrivepackage::translate")
Run this command in your terminal
php artisan trans:json
How it use
Your javascript file you can use this
Trans :
trans('about.name')
License
MIT