Installion
Require package, (*1)
composer require bereczkybalazs/laravel-waavi-translate-admin
Register service provider in config/app.php, (*2)
'providers' => [
...
BereczkyBalazs\WaaviTranslateAdmin\TranslateAdminProvider::class,
...
];
Replace the following entry in config/app.php, (*3)
'providers' => [
...
Illuminate\Translation\TranslationServiceProvider::class,
...
];
with:, (*4)
'providers' => [
...
Waavi\Translation\TranslationServiceProvider::class,
...
];
Publish views, (*5)
php artisan vendor:publish --tag=bereczkybalazs_translate
Add seeder to database/seeds/DatabaseSeeder.php, (*6)
...
$this->call(TranslateAdminLocaleCodesSeeder::class);
...
Run seeder and fill tables for waavi, (*7)
php artisan migrate
php artisan db:seed
php artisan translator:load