@extends('layouts.admin') @section('title', 'Language Settings') @section('header', 'Language Settings') @section('content')
Supported Languages
Languages available for the admin default setting
@forelse($supportedLanguages as $code => $language)
{{ $language['flag'] ?? '🌐' }}
{{ $language['name'] ?? $code }}
{{ $language['native'] ?? $code }}
{{ strtoupper($code) }} @if($code === $defaultLanguage) @endif @if($code !== 'en')
@csrf @method('DELETE')
@endif
@empty

No languages configured

@endforelse

Admin Default Language: {{ strtoupper($defaultLanguage) }} - {{ language_name($defaultLanguage) }}
Language Information
Details about available languages and RTL support
@forelse($supportedLanguages as $code => $language) @empty @endforelse
Language Code RTL Script
{{ $language['flag'] ?? '🌐' }} {{ $language['native'] ?? $code }} {{ $code }} @if($language['rtl'] ?? false) Yes @else No @endif @switch($code) @case('en') Latin @break @case('hi') Devanagari @break @case('fr') Latin @break @case('es') Latin @break @case('ur') Urdu/Arabic @break @case('ar') Arabic @break @default Unknown @endswitch
No languages configured

Note: Languages with RTL (Right-to-Left) support will automatically adjust the interface layout for proper text direction.
Localization Settings
Configure the language used across the platform
@csrf
@error('app_language')
{{ $message }}
@enderror This language is applied to the admin panel, storefront, and apps.
Back to Settings
Language selection is controlled here by admin only. Storefront visitors and app users no longer get a separate language selector.
Extract Translation JSON
Scan Blade files for user-visible hardcoded text.

The extractor ignores PHP code, CSS, JS variables, and comments. It reads Blade text nodes, keeps HTML unchanged, and generates stable translation keys.

Download Extracted JSON
Create or Update Language
Upload translated JSON and optionally make it default.
@csrf
@endsection