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