@extends(config('elseyyid-location.layout')) @section(config('elseyyid-location.content_section'))
@if ($lang != 'edit') @php $lang_region = LaravelLocalization::getSupportedLocales()[str_replace('_','-',$lang)]['regional']; @endphp @php $lang_native = LaravelLocalization::getSupportedLocales()[str_replace('_','-',$lang)]['native']; @endphp

{{ __('Editing Language') }}: {{ country2flag(substr($lang_region, strrpos($lang_region, '_') + 1)) }}{{ ucfirst($lang_native) }}{{ $lang }}

@else

{{ __('Editing Main Strings') }}

@endif
@csrf
@foreach ($list as $key => $value) @foreach ($value->toArray() as $key => $element) @if ($key !== 'code') @if ($key === 'en') @else @endif @endif @endforeach @endforeach
{{ __('String') }} {{ __('Translation') }}
{{ $element }}
Save
@endsection @section(config('elseyyid-location.scripts_section')) @endsection