@if (empty($group))
{!! Form::open(['route' => 'translations.import', 'class' => 'form-inline', 'role' => 'form']) !!}
{!! Form::customSelect('replace', [
0 => trans('plugins/translation::translation.append_translation'),
1 => trans('plugins/translation::translation.replace_translation')
], null, ['wrapper_class' => 'd-inline-block mb-0']) !!}
{!! Form::close() !!}
@endif
@if (!empty($group))
{{ trans('plugins/translation::translation.export_warning', ['lang_path' => lang_path()]) }}
{!! apply_filters('translation_other_translation_header', null) !!}
@endif
{!! Form::open(['role' => 'form']) !!}
{!! Form::customSelect('group', $groups, $group, ['class' => 'group-select select-search-full']) !!}
{!! Form::close() !!}
@if (!empty($group))
@foreach($locales as $locale)
{{ $locale }} |
@endforeach
{!! apply_filters('translation_other_translation_table_header', null) !!}
@foreach ($translations as $key => $translation)
@foreach($locales as $locale)
@php $item = $translation[$locale] ?? null @endphp
{!! ($item ? htmlentities($item->value, ENT_QUOTES, 'UTF-8', false) : '') !!}
|
@endforeach
@endforeach
{!! apply_filters('translation_other_translation_table_body', null) !!}
@else
{{ trans('plugins/translation::translation.choose_group_msg') }}
@endif