[ 'es' => [ 'name' => 'Español', 'native' => 'Español', 'flag' => '🇪🇸', 'regional' => 'es_ES', 'direction' => 'ltr', ], 'en' => [ 'name' => 'English', 'native' => 'English', 'flag' => '🇬🇧', 'regional' => 'en_GB', 'direction' => 'ltr', ], 'ca' => [ 'name' => 'Catalan', 'native' => 'Català', 'flag' => '🏳️', 'regional' => 'ca_ES', 'direction' => 'ltr', ], ], /* | Locale used when nothing else resolves, and the one whose value is shown | when a translatable field has no translation for the active locale. */ 'default' => env('APP_LOCALE', 'es'), 'fallback' => env('APP_FALLBACK_LOCALE', 'es'), /* | Query parameter that switches locale for a single request, e.g. | /api/v1/pages?lang=ca. Also accepted on panel routes. */ 'query_parameter' => 'lang', /* | Session key holding the locale a signed-in visitor picked from the | switcher; it outranks Accept-Language but not an explicit ?lang=. */ 'session_key' => 'app_locale', ];