]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Detabify
[rails.git] / config / initializers / i18n.rb
index 2561c07f21149ba5526e1db94c92e8194f9e0268..7b5db5aabf1d2c0babbc914924bfa0813a6fe408 100644 (file)
@@ -40,3 +40,7 @@ I18n::Backend::Simple.send(:include, I18n::Backend::PluralizationFallback)
 I18n.load_path << "#{Rails.root}/config/pluralizers.rb"
 
 I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
+
+Rails.configuration.after_initialize do
+  I18n.reload!
+end