@php $locale = $locale ?? app()->getLocale(); $localeBW = $localeBW ?? 0; $id = $id ?? 0; $addURL = $addURL ?? ''; $editURL = $editURL ?? ''; @endphp

{{trans('admin::locale.title')}}

@foreach(trans('admin::locale.opt') as $k=>$v) @if($locale != $v['code']) @php if(!empty($addURL)) { $addURL .= (strpos($addURL, '?') !== false) ? '&' : '?'; $addURL .= 'locale=' . $v['code']; } if(!empty($editURL)) { $editURL .= (strpos($editURL, '?') !== false) ? '&' : '?'; $editURL .= 'locale=' . $v['code']; } @endphp @endif @endforeach
{{trans('admin::locale.translate.label')}}
{{trans('admin::locale.opt_char.'.$locale)}}
{{$v['name']}} @if($id > 0) @if(($localeBW&$k) > 0) @else @endif @else @endif