in laravel 5 , config/app.php I've set the locale to 'ar'
but while trying to get locale in code via:
config('app.locale');
I still get 'en'. Seems like config/app.php isn't auto-loaded/updated.
even if config/app.php is empty, executingconfig('app');
returns:
array:10 [▼
"debug" => true
"url" => "http://localhost"
"timezone" => "UTC"
"locale" => "en"
"fallback_locale" => "en"
"key" => "XXXXXXXXXXXXXXXXXXXXXXX" // changed here
"cipher" => "AES-256-CBC"
"log" => "single"
"providers" => array:31 [▶]
"aliases" => array:36 [▶]]
Some hint will be appreciated.