How do I first load Spanish before English?

Laraship QuestionsCategory: TechnicalHow do I first load Spanish before English?
hola asked 5 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 5 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',
hola replied 5 years ago

Hi,

I followed the steps indicated as it is in the image https://imgur.com/0ZdLdM1

but some things were unconfigured instead of being translated from English to Spanish, I attached images:

– Instead of Dashboard, “coral-admin :: labels …” appears
https://imgur.com/IyWzaeC

– Instead of Start in, “Marketplace :: attributes …” appears
https://imgur.com/o6CO0xG

Please, I need an explanation and solution.

Thanks

hola replied 5 years ago

Please any news?