Translation inside models?

Inside a model is used like this:

I18n.t(:username_in_use)

You can also put it in the translation yml like this:

es:
  activerecord:
    errors:
      messages:
        taken: "ya está en uso"

There are more examples in: http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale

Regards.

Franco Catena.