@php $currentLanguage = $languages->firstWhere('code', app()->getLocale()); @endphp