discourse/config/environments
Kane York ecfa17b5a7 FEATURE: Localization fallbacks (server-side)
The FallbackLocaleList object tells I18n::Backend::Fallbacks what order the
languages should be attempted in. Because of the translate_accelerator patch,
the SiteSetting.default_locale is *not* guaranteed to be fully loaded after the
server starts, so a call to ensure_loaded! is added after the locale is set for
the current user.

The declarations of config.i18n.fallbacks = true in the environment files were
actually garbage, because the I18n.default_locale was
SiteSetting.default_locale, so there was nothing to fall back to. *derp*
2015-07-15 10:17:36 -07:00
..
development.rb ignore uploads for mini profiler 2015-04-17 12:16:37 +10:00
production.rb FEATURE: Localization fallbacks (server-side) 2015-07-15 10:17:36 -07:00
profile.rb FEATURE: Localization fallbacks (server-side) 2015-07-15 10:17:36 -07:00
test.rb *Don't* silence the deprecation warnings in test 2014-10-11 15:02:15 -07:00