@extends('admin.layouts.master') @section('title', __('Manage Language')) @section('content')

{{ __('Languages') }}

{{ __('Manage application localization at your ease.') }}

@if (filled($langs))
{{ __('Name') }}
{{ __('Label / Short') }}
{{ __('Status') }}
 
{{ __('Relevent File') }}
 
@foreach ($langs as $lang)
{{ $lang->name }} [{{ strtoupper($lang->code) }}]
{{ $lang->label }} / {{ ($lang->short) ? ucfirst($lang->short) : ucfirst($lang->code) }}
{{ ($lang->status) ? __('Active') : __('Inactive') }}
@if(!file_exists(resource_path('/lang/'.$lang->code.'.json'))) @else   @endif
{{ 'resources/lang/'.data_get($lang, 'file', $lang->code.'.json') }}
@endforeach
@if (filled($langs) && $langs->hasPages())
{{ $langs->appends(request()->all())->links('misc.pagination') }}
@endif
@else

{{ __('No language found in application.') }}

@endif
  • {{ __("After add any language into application, please duplicate the base translation (en.json) file to new name and start translation on language.") }}

  • {{ __("If you change the json file, please sync the language files and add into database, so you can regenerate the file any time or while updated the application.") }}

@endsection @push('modal') @endpush @push('scripts') @endpush