@extends('layouts.app') @section('content')

{{ __('Edit Language') . '(' . $language->name . ')' }}

{{ __('Back') }}
@csrf @method('put')
@error('title')

{{ $message }}

@enderror
@hasPermission('admin.language.import')

{{ __('Select JSON File to Import') }}

Upload a JSON file to update your language settings.

@csrf
{{ __('Drop file here or click to upload') }}
@error('file')

{{ $message }}

@enderror
@endhasPermission
@hasPermission('admin.language.export')

{{ __('Export JSON File') }}

Export your language files in JSON format with just one click!

@csrf
@endhasPermission

{{ $language->name }}.json (file content)

@foreach ($languageData as $key => $value)
"{{ $key }}": {{ is_null($value) ? 'null' : '"' . $value . '"' }}
@endforeach
@endsection @push('css') @endpush @push('scripts') @if (session('successAlert')) @endif @endpush