cirandas.net

ref: master

config/initializers/i18n.rb


1
2
3
4
5
6
7
8
9
##
# Support for I18n.default_locale
#
require 'i18n/backend/fallbacks'
I18n.backend.class.send :include, I18n::Backend::Fallbacks
I18n.config.missing_interpolation_argument_handler = -> *args {}

Rails.application.config.middleware.use I18n::JS::Middleware