From 9ca44e1de15bffb46c7f9ed83c2717b966621c8d Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Mon, 27 May 2019 15:20:35 +0200 Subject: [PATCH] Breaking Change in Fallback configuration --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 99d3cb3..e77ac60 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -55,7 +55,8 @@ Rails.application.configure do # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found). - config.i18n.fallbacks = true + # https://github.com/ruby-i18n/i18n/releases/tag/v1.1.0 + config.i18n.fallbacks = [I18n.default_locale] # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify