]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Vagrant deploy works
[rails.git] / config / initializers / i18n.rb
index c8bbdcce00d3675131fdd058fb9e4200f12c09e3..2562b67a0dd8c472bf80889add63ff9d7de74679 100644 (file)
@@ -42,6 +42,8 @@ I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
 
-Rails.configuration.after_initialize do |app|
+I18n.enforce_available_locales = false
+
+Rails.configuration.after_initialize do
   I18n.available_locales
 end