@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')

  {{ trans('plugins/translation::translation.locales') }}

@csrf
{!! Form::customSelect('locale', ['' => trans('plugins/translation::translation.select_locale')] + collect($locales)->map(fn($item, $key) => $item . ' - ' . $key)->all(), null, ['class' => 'select-search-full']) !!}


{{ trans('plugins/translation::translation.import_available_locale') }}

@include('core/base::elements.loading')
@foreach ($existingLocales as $item) @include('plugins/translation::partials.locale-item', compact('item')) @endforeach
{{ trans('plugins/translation::translation.name') }} {{ trans('plugins/translation::translation.locale') }} {{ trans('plugins/translation::translation.is_default') }} {{ trans('plugins/translation::translation.actions') }}
@include('core/table::partials.modal-item', [ 'type' => 'danger', 'name' => 'modal-confirm-delete', 'title' => trans('core/base::tables.confirm_delete'), 'content' => trans('plugins/translation::translation.confirm_delete_message', ['lang_path' => lang_path()]), 'action_name' => trans('core/base::tables.delete'), 'action_button_attributes' => [ 'class' => 'delete-crud-entry', ], ])
{!! BaseHelper::clean(trans('plugins/translation::translation.import_available_locale_confirmation_content', ['lang_path' => Html::tag('strong', lang_path())->toHtml()])) !!}
@stop