Package Data | |
---|---|
Maintainer Username: | bereczkybalazs |
Maintainer Contact: | bereczkybalazs1@gmail.com (Bereczky Balázs) |
Package Create Date: | 2017-08-03 |
Package Last Update: | 2018-09-18 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-29 15:09:50 |
Package Statistics | |
---|---|
Total Downloads: | 1,042 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Require package
composer require bereczkybalazs/laravel-waavi-translate-admin
Register service provider in config/app.php
'providers' => [
...
BereczkyBalazs\WaaviTranslateAdmin\TranslateAdminProvider::class,
...
];
Replace the following entry in config/app.php
'providers' => [
...
Illuminate\Translation\TranslationServiceProvider::class,
...
];
with:
'providers' => [
...
Waavi\Translation\TranslationServiceProvider::class,
...
];
Publish views
php artisan vendor:publish --tag=bereczkybalazs_translate
Add seeder to database/seeds/DatabaseSeeder.php
...
$this->call(TranslateAdminLocaleCodesSeeder::class);
...
Run seeder and fill tables for waavi
php artisan migrate
php artisan db:seed
php artisan translator:load