Jun
Tonight at the Pivotal office I showed a few people the updates and modifications I’ve made to the globalize plugin for Rails.
My main motivation was fixing Globalize to work with Rails 2.1. They changed the way rails views are selected and rendered, and the date_helper api, both which broke the plugin. I forked globalize on github and my fork now works with Rails 2.1.
UPDATED June 14: Thanks to tips from jodosha and David Ramalho, I’ve made a few updates to the branch that fix a few things.
Get the plugin for Rails 2.1.0script/plugin install git://github.com/heythisisnate/globalize.git>> "Biodiesel Stations".t
=> "Biodiesel Stations"
>> Locale.set 'zh-tw'
>> "Biodiesel Stations".t
=> "生質柴油"In addition to string translations, Globalize does a lot more, including date & time localization, currency, and number formatting differences. It handles pluralization supremely. The original team did a great job, and I’m happy to contribute my changes for Rails 2.1.
I’ve hacked on a few additional features that I previewed tonight … they’re not quite ready for prime time yet. I’ll definitely publish them here when they are.



