@extends('backend.settings.setting-layout') @section('title') {{ __('language_list') }} @endsection @section('breadcrumbs')

{{ __('settings') }}

@endsection @section('website-settings')
@php $current_language = currentLanguage() ? currentLanguage() : loadDefaultLanguage(); @endphp
@csrf @method('put')

{{ __('language_list') }}

{{ __('create') }}
@forelse ($languagesList as $key => $language) @empty @endforelse
# {{ __('name') }} {{ __('code') }} {{ __('direction') }} {{ __('flag') }} {{ __('action') }}
{{ $key + 1 }} {{ $language->name }} @if (config('templatecookie.default_language') == $language->code) {{ __('default') }} @endif {{ $language->code }} {{ __($language->direction) }} @if ($language->code == 'en') @endif @if ($language->code != 'en') @if ($language->code !== 'en')
@method('DELETE') @csrf
@endif @endif
@if (userCan('setting.update')) @else @endif
@endsection