Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.18 KB

2-Configuration.md

File metadata and controls

50 lines (38 loc) · 1.18 KB

2. Configuration

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

After publishing the package config file :

// config/laravel-lang.php
<?php

return [

    /* -----------------------------------------------------------------
     |  The vendor path
     | -----------------------------------------------------------------
     */

    /** @link      https://github.com/Laravel-Lang/lang */
    'vendor'    => [
        base_path('vendor/laravel-lang/lang/locales'),
    ],

    /* -----------------------------------------------------------------
     |  Supported locales
     | -----------------------------------------------------------------
     | If you want to limit your translations, set your supported locales list.
     */

    'locales'   => [
        //
    ],

    /* -----------------------------------------------------------------
     |  Check Settings
     | -----------------------------------------------------------------
     */

    'check'     => [
        'ignore'  => [
            'validation.custom',
            'validation.attributes',
        ],
    ],

];