@if (gs('multi_language')) @php $language = App\Models\Language::all(); $activeLanguage = $language->where('code', config('app.locale'))->first(); @endphp