Make translations backwards compatible with Rails 2.