diff --git a/views/calendar.blade.php b/views/calendar.blade.php
index 7f790e4a..3d740ed1 100644
--- a/views/calendar.blade.php
+++ b/views/calendar.blade.php
@@ -6,7 +6,7 @@
@push('pageScripts')
- @if(!empty($L('fullcalendar_locale')))@endif
+ @if(!empty($L('fullcalendar_locale') && $L('fullcalendar_locale') != 'x'))@endif
@endpush
@push('pageStyles')
diff --git a/views/equipmentform.blade.php b/views/equipmentform.blade.php
index c0c0b822..e3ba2dfe 100644
--- a/views/equipmentform.blade.php
+++ b/views/equipmentform.blade.php
@@ -10,7 +10,7 @@
@push('pageScripts')
- @if(!empty($L('summernote_locale')))@endif
+ @if(!empty($L('summernote_locale') && $L('summernote_locale') != 'x'))@endif
@endpush
@push('pageStyles')
diff --git a/views/layout/default.blade.php b/views/layout/default.blade.php
index 2910f4ff..1d3eead7 100644
--- a/views/layout/default.blade.php
+++ b/views/layout/default.blade.php
@@ -338,7 +338,7 @@
- @if(!empty($L('moment_locale')))@endif
+ @if(!empty($L('moment_locale') && $L('moment_locale') != 'x'))@endif
diff --git a/views/recipeform.blade.php b/views/recipeform.blade.php
index f328b904..f65e1b71 100644
--- a/views/recipeform.blade.php
+++ b/views/recipeform.blade.php
@@ -10,7 +10,7 @@
@push('pageScripts')
- @if(!empty($L('summernote_locale')))@endif
+ @if(!empty($L('summernote_locale') && $L('summernote_locale') != 'x'))@endif
@endpush