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

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

@if (empty($group)) {!! Form::open(['route' => 'translations.import', 'class' => 'form-inline', 'role' => 'form']) !!}
{!! Form::close() !!}
@endif @if (!empty($group))
@csrf {{ trans('plugins/translation::translation.back') }}

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

@endif {!! Form::open(['role' => 'form']) !!}

{!! Form::close() !!} @if (!empty($group))
@foreach($locales as $locale) @endforeach @foreach ($translations as $key => $translation) @foreach($locales as $locale) @php $item = isset($translation[$locale]) ? $translation[$locale] : null @endphp @endforeach @endforeach
{{ $locale }}
{!! ($item ? htmlentities($item->value, ENT_QUOTES, 'UTF-8', false) : '') !!}
@else

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

@endif
@if (!empty($group)) {!! Form::modalAction('confirm-publish-modal', trans('plugins/translation::translation.publish_translations'), 'warning', trans('plugins/translation::translation.confirm_publish_group', ['group' => $group]), 'button-confirm-publish-groups', trans('core/base::base.yes')) !!} @endif @stop