summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-07-14 13:59:27 -0700
committerelijah <elijah@riseup.net>2015-07-14 13:59:27 -0700
commitb4f35ce6103d222e96d9153d5801044016329953 (patch)
tree9202452a7fc9286a9e45c782dbb05a15c85b77ee /config/environments
parentd2f1703e30319f7fc1f4c1a084d5b0363536d935 (diff)
a couple minor fixes for l10n
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 7b06c81..f088ef2 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -22,6 +22,9 @@ LeapWeb::Application.configure do
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation can not be found)
+ config.i18n.fallbacks = true
# Do not compress assets
config.assets.compress = false