diff --git a/backend/app/views/spree/admin/shared/_js_locale_data.html.erb b/backend/app/views/spree/admin/shared/_js_locale_data.html.erb index f9fe2079bbf..93f6096a38c 100644 --- a/backend/app/views/spree/admin/shared/_js_locale_data.html.erb +++ b/backend/app/views/spree/admin/shared/_js_locale_data.html.erb @@ -33,7 +33,7 @@ -<% if I18n.locale != :en %> +<% if I18n.locale.to_s.split('-').first != 'en' %> <%= javascript_include_tag "solidus_admin/select2_locales/select2_locale_#{I18n.locale}", data: {turbolinks_track: 'reload'} %> <% end %>