diff --git a/.env b/.env index 3182c16226..5cdc06d8bd 100644 --- a/.env +++ b/.env @@ -10,10 +10,10 @@ TIMEZONE="Melbourne" DEFAULT_COUNTRY_CODE="AU" # Locale for translation. -LOCALE="en" +LOCALE="en_AU" # For multilingual - ENV doesn't have array so pass it as string with commas -AVAILABLE_LOCALES="en,es" +AVAILABLE_LOCALES="en_AU,es" # Spree zone. CHECKOUT_ZONE="Australia" diff --git a/spec/base_spec_helper.rb b/spec/base_spec_helper.rb index 6a307e9c3c..fcb68b76d6 100644 --- a/spec/base_spec_helper.rb +++ b/spec/base_spec_helper.rb @@ -141,7 +141,7 @@ RSpec.configure do |config| # Reset locale for all specs. config.around(:each) do |example| - I18n.with_locale(:en) { example.run } + I18n.with_locale(:en_AU) { example.run } end # Reset all feature toggles to prevent leaking.