Hi Edgar,

> What's faster(better, more performance)?:
> 1. Put a I18n.load_translations in an initializer that loads all
> available locales when the server starts.
> 2. Put a I18n.load_translations in the ApplicationController that loads
> only the locale proper to the current request.

If you've got the RAM then #1 will be faster for sure. I'd recommend it, 
since RAM is cheap anyway.

--
Roderick van Domburg
http://www.nedforce.nl
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to