@push('scripts_libs') @php $translation = null; $language = getLocale(); $translationFile = "assets/vendor/libs/ckeditor/translations/{$language}.js"; if (file_exists(public_path($translationFile))) { $translation = $translationFile; } @endphp @if ($translation) @endif @endpush