Delay initialization of ViewHelpers in railtie

I have a Rails app with the default_locale set to spanish. After including your gem in my project, I noticed that text in views were rendered in english. After some debugging I found that the problem was in the gem's railtie, where you create a new instance of ActionView::Base. It seems that at that point locales were not properly initialized. Using config.after_initialize, as recommended in rails guides (http://guides.rubyonrails.org/configuring.html#rails-general-configuration), solves this.