@php $userLanguages = !empty($generalSettings['site_language']) ? [$generalSettings['site_language'] => getLanguages($generalSettings['site_language'])] : []; if (!empty($generalSettings['user_languages']) and is_array($generalSettings['user_languages'])) { $userLanguages = getLanguages($generalSettings['user_languages']); } $localLanguage = []; foreach($userLanguages as $key => $userLanguage) { $localLanguage[localeToCountryCode($key)] = $userLanguage; } @endphp
@push('scripts_bottom') @endpush