Also, lib/extensions/error_messages.rb redefines error_messages_for but does not include I18n.with_options like the original rails' one .
Therefor no more translation for errors .... :( On 23 jan, 17:06, Fabien Penso <[email protected]> wrote: > Can you say a bit more ? > > I'm also currently using AS on a i18n website and I need the interface > to be translated. > > Thanks. > > On 25 déc 2008, 00:27, Edwin Moss <[email protected]> wrote: > > > I finally have a new project to work on. So why not give the latest AS > > a try in Rails 2.2? > > > As you may have heard Rails 2.2 includes localization. I spent some > > time making my way through the new mechanism. I am not sure how useful > > this will be to the masses so I added a 'localize' branch to the the > > github repos for those interested to review. > > > Let me try to summarize: > > > 1) Migrated all as_('String') references to as_(:string) - as_ > > ('Close') is now as_(:close) > > > 2) Included a default 'en.rb', similar to the way Rails core does it. > > It should work out of the box - even if you app has no plans for > > localization. > > > If there is interest, I will post more info here with maybe a link to > > a demo of how I interpreted the intent of the new localization modules. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
