Adapted rails 2.x/3.0 branch (1.2.4/5) for globalize3