Ingmar,

That's exactly what i was searching for.

Thanks

On 03/03/2011 21:36, Ingmar Stieger wrote:
Pierre,

until babilu is updated to work with Rails3, this following workaround
works fine for me.

In application.rb, add this inside the Application class:

    config.after_initialize do
       Babilu.generate
     end

This generates locales.js just after Rails has done initializing.

Ingmar


--
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en.

Reply via email to