Translating with Mobility, by Chris Salzberg
Translating stored content in a Ruby project can be a tricky task. How do you read, update and query your translations? Do you need to change your presentation logic to accommodate translations? And in what format will you actually store the translations?
Mobility is a gem I've built to help make working with translations easier. Unlike other translation gems, Mobility is "pluggable", in the sense that it supports many different storage strategies through a common interface. It also supports multiple ORM (ActiveRecord and Sequel currently). This makes it, I believe, the most flexible translation solution for your Ruby project.
I'll explain Mobility and a bit of background about how it internally manages multiple storage backends using some interesting Ruby metaprogramming.
About Chris SalzbergDegica dejimata.com
Ruby/Rails programmer originally from Montreal, living and working in Tokyo.