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