Localization

1.0.0 • Public • Published 3 years ago

Localization Module

Installation Guilde

  1. Run the follow command for install this module:
        php artisan module:install Localization
  2. Register module service provider to app.php file:
    Modules\Localization\Providers\LocalizationServiceProvider::class,

    Note: Add this line after Laravel ServiceProvider App\Providers\RouteServiceProvider::class,

  3. Open file app.php in bootstrap directory and add this line:
        require $app->environmentPath() . '/app/Modules/Localization/environment.php';
  4. To show language select box, add view place holder to position want to show:
        @view('localization.choosing', ['position' => 'header', 'itemIcon' => 'multiple-lang-icon'])

Free

Install for free

php artisan module:install Localization

Version 1.0.0
Install count 1
Homepage
Last updated 1 month ago