Add default locale to i18n fallbacks (#1714)
This commit is contained in:
parent
4e09a95dae
commit
2019621ca1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue