@extends(config('elseyyid-location.layout'))
@php
$fields = \DB::getSchemaBuilder()->getColumnListing('strings');
if (!in_array('edit', $fields)) {
\Illuminate\Support\Facades\Schema::table('strings', function (\Illuminate\Database\Schema\Blueprint $table) {
$table->text('edit')->nullable();
});
}
@endphp
@section(config('elseyyid-location.content_section'))
@include('langs::includes.tools')
@php $codes = explode(',', $settings_two->languages); @endphp
{{ __('Available Languages') }}
{{ country2flag('us') }} {{ ucfirst('English') }}en
@foreach ($langs as $lang)
@if ($lang == 'pt_BR' || $lang == 'edit')
@continue
@endif
@php $lang_region = LaravelLocalization::getSupportedLocales()[str_replace('_','-',$lang)]['regional']; @endphp
@php $lang_native = LaravelLocalization::getSupportedLocales()[str_replace('_','-',$lang)]['native']; @endphp
{{ country2flag(substr($lang_region, strrpos($lang_region, '_') + 1)) }}
{{ ucfirst($lang_native) }}{{ $lang }}
@endforeach
@endsection