@extends('admin.layouts.app') @section('title', __('Languages & Translations')) @section('page-title', __('Languages & Translations'))
{{-- Header --}}

{{ __('Languages & Translations') }}

{{ __('Platform-wide centralized localization engine and multi-language management') }}

{{-- Flash messages --}} @if(session('success'))
{{ session('success') }}
@endif {{-- Language Selector Tabs --}}
@foreach($supported as $code => $info) @php $curStat = $stats[$code] ?? ['coverage' => 0, 'translated' => 0]; @endphp {{ $info['flag'] ?? '🌐' }} {{ $info['name'] }} ({{ $info['native'] }}) {{ $curStat['coverage'] }}% @endforeach
{{-- KPI Cards --}} @php $activeStat = $stats[$activeLocale] ?? ['total' => 0, 'translated' => 0, 'missing' => 0, 'coverage' => 0]; @endphp
{{ __('Supported Languages') }}
{{ count($supported) }}
9 Indic & Classical scripts
{{ __('Translated Strings') }} ({{ $supported[$activeLocale]['name'] ?? '' }})
{{ number_format($activeStat['translated']) }}
{{ $activeStat['coverage'] }}% {{ __('Platform Coverage') }}
{{ __('Total System Keys') }}
{{ number_format($activeStat['total']) }}
Across 26 site modules
{{ __('Overall Status') }}
{{ $activeStat['coverage'] }}%
{{ $activeStat['missing'] === 0 ? 'Complete 100%' : $activeStat['missing'].' keys pending' }}
{{-- Toolbar --}}
@if($search !== '' || $status !== 'all') {{ __('Reset') }} @endif
Showing {{ count($items) }} keys
{{-- Translation Table --}}
@forelse(array_slice($items, 0, 150) as $key => $item) @empty @endforelse
# {{ __('Key (English)') }} {{ __('Translation') }} ({{ $supported[$activeLocale]['name'] ?? $activeLocale }}) {{ __('Status') }} {{ __('Action') }}
{{ $loop->iteration }}
{{ $key }}
@if($item['translated']) Verified @else Pending @endif
{{ __('No matching translation keys found.') }}
@if(count($items) > 150)
Showing first 150 of {{ count($items) }} keys. Use search above to locate any specific term.
@endif
@endsection