Add default locale to i18n fallbacks (#1714)

This commit is contained in:
rhymes 2019-02-03 00:49:14 +01:00 committed by Ben Halpern
parent 4e09a95dae
commit 2019621ca1

View file

@ -77,7 +77,7 @@ 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
config.i18n.fallbacks = [I18n.default_locale]
# Send deprecation notices to registered listeners.
config.active_support.deprecation = :notify