auto-detect locale based on browser preferences

This commit is contained in:
hackerESQ
2024-08-23 14:24:15 -05:00
parent 2a8f7e3b55
commit aa2f84d72c
3 changed files with 30 additions and 1 deletions
+1
View File
@@ -77,6 +77,7 @@ return [
| set to any locale for which you plan to have translation strings.
|
*/
'available_locales' => ['en', 'es'],
'locale' => env('APP_LOCALE', 'en'),