Set app locale

This commit is contained in:
Peter Papp
2021-06-15 18:04:02 +02:00
parent b50e0041e0
commit f2be4059cf
2 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -40,8 +40,7 @@
let config = {
host: '{{ url('/') }}',
api: '{{ url('/api') }}',
locale: '{{ \Illuminate\Support\Facades\App::getLocale() }}',
language: '{{ $settings->language ?? 'en' }}',
locale: '{{ app()->getLocale() }}',
app_color: '{{ $settings->app_color ?? '#00BC7E' }}',
app_logo: '{{ $settings->app_logo ?? null }}',