Breaking Change in Fallback configuration

This commit is contained in:
Daniel Schädler 2019-05-27 15:20:35 +02:00
parent 26ebce7b00
commit 9ca44e1de1
1 changed files with 2 additions and 1 deletions

View File

@ -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