]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Test user#reset_password
[rails.git] / config / initializers / i18n.rb
index f3da8a1274855d3ebfe1535ff43468f826c58db2..c8bbdcce00d3675131fdd058fb9e4200f12c09e3 100644 (file)
@@ -42,4 +42,6 @@ I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
 
-I18n.available_locales
+Rails.configuration.after_initialize do |app|
+  I18n.available_locales
+end