@extends('admin::layouts.master') @section('content')
{{-- Header --}}

{{ translate('Import App Translations') }}

{{ translate('Download Sample Template') }}
{{-- Instructions --}}
{{ translate('Instructions') }}
  • {{ translate('Column A (Page)') }} ({{ translate('Required') }}): {{ translate('The page or group where the label belongs (e.g., "Home", "Profile").') }}
  • {{ translate('Column B (Type)') }} ({{ translate('Required') }}): {{ translate('The type of translation. Allowed: TEXT, BUTTON, FILTER, DROP DOWN, MESSAGE, RADIO BUTTON, CHECK BOX, TEXT BOX.') }}
  • {{ translate('Column C (Label name)') }}: {{ translate('The unique key for the translation (e.g., "Welcome Text").') }}
  • {{ translate('Subsequent Columns') }}: {{ translate('Each column header should be a language code (e.g., "EN", "AR").') }}
  • {{ translate('Fill the translation values in the respective language columns.') }}
{{-- Success Message --}} @if(session('success'))
{{ session('success') }}
@endif {{-- Error Message --}} @if(session('danger'))
{{ session('danger') }}
@endif {{-- Import Errors --}} @if(session('import_errors'))
{{ translate('The following rows failed to import') }}:
    @foreach(session('import_errors') as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Import Form --}}
@csrf
{{-- File Input --}}
{{-- Button --}}
@endsection @section('script') @include('translation::scripts.index_scripts') @endsection