Force translations to be preloaded during startup
authorTom Hughes <tom@compton.nu>
Mon, 25 Mar 2013 10:49:58 +0000 (10:49 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 25 Mar 2013 10:49:58 +0000 (10:49 +0000)
config/initializers/i18n.rb

index 48d1ec976f334f7cc6841e99c7ea9f8521a03f38..f3da8a1274855d3ebfe1535ff43468f826c58db2 100644 (file)
@@ -41,3 +41,5 @@ I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback)
 I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
+
+I18n.available_locales