]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Restructured notes page
[rails.git] / config / initializers / i18n.rb
index 48d1ec976f334f7cc6841e99c7ea9f8521a03f38..c8bbdcce00d3675131fdd058fb9e4200f12c09e3 100644 (file)
@@ -41,3 +41,7 @@ I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback)
 I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
+
+Rails.configuration.after_initialize do |app|
+  I18n.available_locales
+end