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

-- 
Posted via http://www.ruby-forum.com/.

-- 
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