mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
ecfa17b5a7
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* |
||
---|---|---|
.. | ||
active_record_base.rb | ||
ams_include_without_root.rb | ||
arel_patch.rb | ||
better_handlebars_errors.rb | ||
ember_compat_handlebars.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
performance_fixes.rb | ||
pool_drainer.rb | ||
rack_patches.rb | ||
rails4.rb | ||
safe_buffer.rb | ||
scrub.rb | ||
translate_accelerator.rb |