@extends('layouts.admin') @section('title') {{ __('Manage Languages') }} @endsection @section('action-button') @if ($currantLang != (\Auth::user()->lang ?? 'en')) {!! Form::open([ 'method' => 'DELETE', 'route' => ['lang.destroy', $currantLang], 'id' => 'delete-form-' . $currantLang, ]) !!} {!! Form::close() !!} @endif @endsection @section('content')
@if ($currantLang != (!empty($settings['default_language']) ? $settings['default_language'] : 'en'))
@endif
@csrf
@foreach ($arrLabel as $label => $value)
@endforeach
@foreach ($arrMessage as $fileName => $fileValue)

{{ ucfirst($fileName) }}

@foreach ($fileValue as $label => $value) @if (is_array($value)) @foreach ($value as $label2 => $value2) @if (is_array($value2)) @foreach ($value2 as $label3 => $value3) @if (is_array($value3)) @foreach ($value3 as $label4 => $value4) @if (is_array($value4)) @foreach ($value4 as $label5 => $value5)
@endforeach @else
@endif @endforeach @else
@endif @endforeach @else
@endif @endforeach @else
@endif @endforeach
@endforeach

@endsection @push('script') @endpush