@extends('admin.layouts.app') @section('title', t('admin.translations.title')) @section('page_title', t('admin.translations.title')) @section('content')
{{-- Filters --}}
@if(request()->hasAny(['namespace', 'missing'])) @t('admin.translations.clear_filters') @endif
{{-- Export / Import --}}
{{-- Export --}}
JSON CSV
{{-- Import --}}
@csrf
{{-- Translations table --}}
@foreach($locales as $locale) @endforeach @forelse($keys as $tKey) @foreach($locales as $locale) @php $translation = $tKey->translations->firstWhere('locale_code', $locale->code); $currentValue = $translation?->value ?? ''; @endphp @endforeach @empty @endforelse
@t('admin.translations.namespace') @t('admin.translations.key'){{ $locale->name }} ({{ $locale->code }})
{{ $tKey->namespace }} {{ $tKey->key }}
@t('admin.translations.no_records')
{{ $keys->links() }}
@endsection @push('scripts') @endpush