@extends('admin::layouts.content')
@section('page_title')
{{ __('admin::app.configuration.title') }}
@stop
@section('content')
@php
$locale = request()->get('locale') ?: app()->getLocale();
$channel = request()->get('channel') ?: core()->getDefaultChannelCode();
$channelLocales = app('Webkul\Core\Repositories\ChannelRepository')->findOneByField('code', $channel)->locales;
if (! $channelLocales->contains('code', $locale)) {
$locale = config('app.fallback_locale');
}
@endphp
@stop
@push('scripts')
@endpush