Cool. Looks like Iain and I had the same idea. I made a Rails plugin that adds a translate (or t) method to controllers/models/views/mailers using the context of the request to add scoping when looking up keys. It is an extraction of how we're i18n'ing our Rails app.
http://github.com/graysky/translator/tree/master Still early so I'd appreciate any feedback. On Feb 6, 5:52 am, Coren <[email protected]> wrote: > Thanks Iain, it seems very helpful and exactly what I need. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
