How do I first load Spanish before English?

Laraship QuestionsCategory: TechnicalHow do I first load Spanish before English?
hola asked 4 years ago
Hi, I followed the steps to configure the English and Spanish languages ​​according to https://www.laraship.com/docs/laraship/laraship-configuration/localization/, but when the web automatically loads it appears in English and I would like to choose Spanish as the default language When I load the web. What steps should I follow to first load the Spanish language instead of English? Thanks
1 Answers
laraship Staff answered 4 years ago
Hello, Under config/app.php and make sure to clear config cache on change  
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/

'locale' => 'en',

/*
|--------------------------------------------------------------------------
| Application Fallback Locale
|--------------------------------------------------------------------------
|
| The fallback locale determines the locale to use when the current one
| is not available. You may change the value to correspond to any of
| the language folders that are provided through your application.
|
*/

'fallback_locale' => 'en',